101 stuff: how to git clone to localhost and code with VSCode

#66
by 4n6h4x0r - opened

If you see this: remote: Password authentication in git is no longer supported. You must use a user access token or an SSH key instead. See https://huggingface.co/blog/password-git-deprecation, read further.

There were security upgrades rendering old methods / instructions obsolete, specifically, the instructions given in https://huggingface.co/blog/password-git-deprecation telling people to use the user access token in place of password no longer works. Do this instead:

  1. 3 dot menu | Duplicate this Space # to your own space under name e.g. "test_agent"
  2. Get a token with write permission from https://huggingface.co/settings/tokens
  3. brew install git-lfs
  4. git lfs install
  5. brew install huggingface-cli
  6. huggingface-cli login # input your token
  7. git clone https://huggingface.co/spaces/[username]/test_agent
Your need to confirm your account before you can post a new comment.

Sign up or log in to comment