I am pretty new to github, and am trying to upload some files to a expository. I got as far as cloning the repo locally (well, not really locally as I am ssh’d into a remote server…), and copying a file to the cloned repo. I then used the
git add . and then
git commit -m 'Add existing file' commands as outlined here.
Now, when I try
git push origin master I am prompted for my username and password. I enter my github username and password (which worked to log into the website), but get an error:
remote: Invalid username or password.
fatal: Authentication failed for [repository name]’
Any advice would be appreciated!