Git hub pushing to a forked repo
github, push
Solution
First, you are pushing using an https address, so any ssh settings you might have won't have any bearing on the completion of the (https) push.
Second, the right https url you should use is:
https://edasaur@github.com/edasaur/bitstarter.git
(no need for `www.github.com`) (I like to put the username in the url: that is one less data to enter when pushing)
That means you can set your url with:
git remote set-url origin https://edasaur@github.com/edasaur/bitstarter.git
Third, double-check your password (and see if there is any special character in it like an '`@`', which might not be directly supported over an http query)
If nothing works, you can still fallback on ssh url:
git remote set-url origin git@github.com:edasaur/bitstarter.git
Problem
I'm new to github and I couldn't seem to find a solution to my problem, so bear with me a little. I'm trying to push changes that I've made to a forked repo via command line on an ec2 ubuntu instance from aws. After making changes to my file, I committed the file I changed and then pushed it over to git: ``` ubuntu@ip-172-31-33-24:~/bitstarter$ git push origin master Username for 'https://www.github.com': edasaur Password for 'https://edasaur@www.github.com': fatal: Authentication failed ``` I'm hypothesizing that this might be an issue with the fact that I'm pushing over to a forked repo because when I attempted to commit and push changes over to a repository that I started, it seemed to work. However, I'm at a loss at what to do. When I tested whether my SSH key worked via the command: ``` ubuntu@ip-172-31-33-24:~/bitstarter$ ssh -T git@github.com Hi edasaur! You've successfully authenticated, but GitHub does not provide shell access. ``` Thanks in advance!