Github Error 403

04.10.2018
Github Error 403

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. Thanks for contributing an answer to Stack Overflow! Please be sure to answer the question.Provide details and share your research!

Github Error 403

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. C: cygwin home XPherior Code lunch_call>git push Password: error: The requested URL returned error: 403 while accessing alis@github.com/derekerdmann/lunch_call.git/info/refs fatal: HTTP request failed Also set it up with verbose mode. I'm still pretty baffled. C: cygwin home XPherior Code lunch_call>set GIT_CURL_VERBOSE=1 C: cygwin home XPherior Code lunch_call>git push Password: * Couldn't find host github.com in the _netrc file; using defaults * About to connect() to github.com port 443 (#0) * Trying 207.97.227.239.

* 0x23cb740 is at send pipe head! * Connected to github.com (207.97.227.239) port 443 (#0) * successfully set certificate verify locations: * CAfile: C: Program Files (x86) Git/bin/curl-ca-bundle.crt CApath: none * SSL connection using AES256-SHA * Server certificate: * subject: 2.5.4.15=Private Organization; 1.3.6.1.4.1.311.60.2.1.3=US; 1. 3.6.1.4.1.311.60.2.1.2=California; serialNumber=C3268102; C=US; ST=California; L =San Francisco; O=GitHub, Inc.; CN=github.com * start date: 2011-05-27 00:00:00 GMT * expire date: 2013-07-29 12:00:00 GMT * subjectAltName: github.com matched * issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert High Ass urance EV CA-1 * SSL certificate verify ok. I just got the same problem and just figured out what's cause. Github seems only supports ssh way to read&write the repo, although https way also displayed 'Read&Write'. So you need to change your repo config on your PC to ssh way: • edit.git/config file under your repo directory • find url=entry under section [remote 'origin'] • change it from url=to url=ssh://git@github.com/derekerdmann/lunch_call.git.

That is, change all the texts before @ symbol to ssh://git • Save config file and quit. Now you could use git push origin master to sync your repo on GitHub. To definitely be able to login using https protocol, you should first set your authentication credential to the git Remote URI: git remote set-url origin Then you'll be asked for a password when trying to git push. In fact, this is on the http authentication format. You could set a password too: You should be aware that if you do this, your github password will be stored in plaintext in your.git directory, which is obviously undesirable.

The other answers that suggest switching to SSH sort of miss the point. Digitrax db 150 manual projection. HTTPS is supported, but you must log in with you GITHUB password, not your SSH passphrase (which was what was giving me the same exact error). I was having the same problem, but making sure to use my actual GitHub password at the terminal password prompt fixed the solution with no alteration to the config, or resorting to SSH. The reason it is important to note this, is many public institutions (such as my school) will block SSH, but allow HTTPS (which is the only reason I started cloning over HTTPS in the first place). Hope that helps anyone else having the same issue. Same error and resolution on Mac OS X.