I was able to clone a copy of this repo over HTTPS authenticated. I\'ve made some commits and want to push back out to the GitHub server. Using Cygwin on Windows 7 x64.
Just add you username into url like this : https://islam9@github.com/islam9/bootstrap-rtl
please check: http://islamkhalil.wordpress.com/2012/12/06/github-error-pushing-to-git-returning-error-code-403-fatal/
Edit .git/config
file under your repo directory
Find url=
entry under section [remote "origin"]
Change it from url=https://github.com/rootux/ms-Dropdown.git
to
https://USERNAME@github.com/rootux/ms-Dropdown.git
where USERNAME
is your github user name
After this our "Push to Git" worked fine.
I had this problem right now, and it turned out that my server /etc/resolver.conf file had a bad ip address. Might help others.
change it from
url=https://MichaelDrogalis@github.com/derekerdmann/lunch_call.git
to
url=ssh://git@github.com/derekerdmann/lunch_call.git
It works!
Do not forget the "git" before the "@".
I figured out my own variation of this problem.
The issue was not changing the protocol from https to ssl, but instead, setting the Github global username and email! (I was trying to push to a private repository.
git config --global user.email "your_github_email_@email.com"
git config --global user.name "Your full name"