How to update git version on centOS? 403 fatal: HTTP request failed
This is what I’m following to push the changes from local to git and I keep getting this error.
push an existing repository from the command line
git remote add origin https://github.com/myuserame/mytestrep.git git push -u origin master error: The requested URL returned error: 403 while accessing https://github.com/myuserame/mytestrep.git/info/refs
replaced the username and reponame
I have git installed in centOS 6.5. But whenever I try to push something to git I get 403 forbidden error. I see that the git version I’m using is older and I thought upgrading would help resolve this issue.
The main issue I’m facing is exactly mentioned here but I don’t really get the answer. I have created a repo in the git, created a folder locally and with some sample file. Then git init and the commit. But when I try to push the changes I was expecting it to ask for logins instead it is throwsing 403 fatal http request error.
Pushing to Git returning Error Code 403 fatal: HTTP request failed
I’m trying to upgrade git version on centos. How do I upgrade git version on cent os?
[root@localhost ~]# git version git version 1.7.1 [root@localhost ~]# yum install git Loaded plugins: fastestmirror, refresh-packagekit, security Setting up Install Process Loading mirror speeds from cached hostfile * base: centos.excellmedia.net * epel: ftp.riken.jp * extras: centos.excellmedia.net * updates: centos.excellmedia.net Package git-1.7.1-3.el6_4.1.i686 already installed and latest version Nothing to do [root@localhost ~]#