LZ is currently in the whole remote warehouse. Submit using HTTPS, in Git bash through a series of commands
Remote: invalid username or password
fatal: Authentication failed for ‘ https://github.com/ …
Baidu has come up with a solution, saying that it can re execute git config command to configure user name and mailbox
gitconfig-–globaluser.name”xxx”
gitconfig–-globaluser.email” [email protected] ”
But it didn’t solve my problem. Later, after searching the answers of major netizens for several times, I found that it was my password setting error
After executing the command, GIT will pop up a GitHub login interface. After you log in successfully, you are required to enter your user name and password. The password here is not your GitHub password or local git password
is GitHub’s personal access tokens instead
After the password is filled in again. Perfect solution
From now on, as long as you submit locally, you can use the following command: git push origin master
Only by pushing the latest changes of the local master branch to GitHub can we have a real distributed version library
Similar Posts:
- Git Push Github ERROR: Permission to xxx.git denied to user
- [github] Push remote: Invalid username or password
- git Error: remote: Support for password authentication was removed on August 13, 2021.
- Git push Warning: The authenticity of host ‘github.com (52.74.223.119)’ can’t be established.
- Git error: requested URL returned error: 403
- How to Solve Error: failed to push some refs to git
- [Solved] GitHub desktop push error: fatal: could not read Username for ‘https://github.com’: No such file or directory
- GitHub common operations and common errors! Error prompt: fatal: remote origin already exists
- [Solved] remote: HTTP Basic: Access denied Authentication failed for ‘https://’
- [Solved] Updates were rejected because the tip of your current branch is behind