User Tools

Site Tools


tools:git

Git Resources

* git-scm – The open source and defacto standard reference for git.

GitHub Errors

403 Error

After cloning a GitHub repositority if you attempt to push, such as:

git push

and get the following error:

git push
error: The requested URL returned error: 403 Forbidden while accessing https://github.com/user_name/repository_name.git/info/refs
 
fatal: HTTP request failed

using the following git command:

git remote set-url origin https://user_name@github.com/user_name/repository_name.git

should solve your issue. This hint is from StackOverflow. It is not the accepted answer but the second one and is much simpler.

tools/git.txt · Last modified: 2015/07/27 13:52 by lowcloudnine