Forums

Password for git repository?

Hi, I've set up a free pythonanywhere account and then set up a git repository with a username and useremail from a bash console. Being a newbie, what I am not sure is how to password protect my git repository? Or if that needs to be done? Thanks in advance for any advice!

I suspect you don't need a password, no.... What are you trying to protect your repository from?

Aha! I just realised that the git repository is not stored on github! I hadn't distinguished them! Thanks.

That's right! Although if you do decide to push your repo up to github, github do give you the option of making repositories private (although last I checked you had to pay for that).

If you do go for that option, I recommend using a public/private keypair for authentication. github has good instructions on how to get it all set up...

Many thanks for this advice Harry.