Pushing commits with public key ssh?

This place seems pretty cozy, but I can’t figure out how to push commits without putting in my 6 gazillion character password, where is public key ssh.

2 Likes

What strategy are you using to push commits right now? (i.e. git directly, transformers, huggingface_hub)

If you’re using huggingface_hub, you just need to log in once, then the token will be used automatically behind the scenes from then on.

I also think that pushing using plain git + SSH may be useful in some cases.

1 Like

Data people really are a different breed…

git clone git@hf.co:spaces/[username]/[space]

Seen here, with instructions for datasets and models: Is it possible to clone a dataset/repo from huggingface over ssh?