Pushing to Git returning Error Code 403 fatal: HTTP request failed

后端 未结 30 1665
轻奢々
轻奢々 2020-11-22 04:52

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.

30条回答
  •  没有蜡笔的小新
    2020-11-22 05:28

    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"
    

提交回复
热议问题