Tag Archives: [github] Push

The requested URL returned error: 403 Forbidden while accessing

What is a line of technology after the “OMG.” >>

solve error

ERROR GUI:

gitpush

error:TherequestedURLreturnederror :403Forbiddenwhileacces singhttps://github.com/wangz/future.git/info/refs

git version 1.7.1

OS:CENTOS

Resolution:

vim .Git/config

Edit

[remote”origin”]

url= https://github.com/wangz/example.git

is:

[remote”origin”]

url= https://[email protected]/wangz/example.git

push again, followed by 24377; output code, prompt

[github] Push remote: Invalid username or password

Why can’t you grab tickets when you travel on holiday?Reveal the key technology of 12306 how to ensure the ticket is not oversold>>>

Problem Description:

Push the modified code to GitHub and execute the command:

git push -u origin master

After entering the user name and password, the following error will be reported:

Username for 'https://github.com': xxxx
Password for 'https://[email protected]':
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/xxxx/spring-framework.git/'

Note: no user name and password entered

Reason and resolution:

https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/