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

后端 未结 30 1658
轻奢々
轻奢々 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:23

    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

提交回复
热议问题