使用git Bash Here 綁定賬號密碼錯誤后 無法自動重新綁定


新安裝的git 要打開gitbash 運行下面兩個命令:
1 git config --global user.name "Your Name"
2 git config --global user.email you@example.com

然后就可以 git pull http://jfsdfjsdjfjsd.git
當你使用git Bash Here輸入錯誤密碼后 無法自動讓你重新輸入密碼,一直報錯:

Cloning into 'shopping'...
remote: Incorrect username or password ( access token )
fatal: Authentication failed for 'https://gitee.com/caobiandejiezhi66/shopping.git/'

這個時候需要再次輸入命令:

git config --system --unset credential.helper

這樣在pull或者clone的時候會再次提示讓你 輸入賬號和密碼。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM