Error using password on git push
In this section:
git add . git commit -m'Initial commit' git push
The first time git asks you for the user password but git has stopped accepting passwords on the command line. You have to set up a personal access token.
@stevecrossan if you clone your repo with SSH, you won't need to use personal access tokens.
@stevecrossan if you clone your repo with SSH, you won't need to use personal access tokens.
Instead of a fresh clone @stevecrossan you can just remove the default remote by default origin and add a new one
You can see the current remote config by:
git remote -v
I can't see the harm in removing it and adding the following.
git remote remove origin
git remote add origin [email protected]:fastai/nbdev.git
You will need to set up the ssh keys. Try the github ssh key docs.
If that doesn't make sense to you a few years ago I found the gitlab docs a bit more friendly so they are worth a read.