On 10/11/2014 04:27 AM, Niki Kovacs wrote:
Le 11/10/2014 11:03, Niki Kovacs a écrit :
# git push error: The requested URL returned error: 403 Forbidden while accessing https://github.com/kikinovak/centos/info/refs fatal: HTTP request failed
Now I think there must be some missing component in my CentOS installation, because my Slackware workstation in the same network can push things just fine.
I'll answer this myself, since I just stumbled over the solution. It seems that the version of Git shipping with CentOS has a little problem with Github. The solution is to add the username to the URL like this:
# git remote set-url origin https://kikinovak@github.com/kikinovak/centos.git
I created a newer version of git for CentOS-6 that works better with github. Hopefully Red Hat will upgrade to this version for EL6:
http://people.centos.org/hughesjr/chromium/build/x86_64/Packages/
Thanks, Johnny Hughes