使用Git遇到的問題

  • Access denied

問題現場:

Cloning into 'project_name'...
remote: HTTP Basic: Access denied
fatal: Authentication failed for 'http://[email protected]/my_user_name/project_name.git/'

解決:
輸入一行命令:git config --system --unset credential.helper
之後再進行git操作時,彈出用戶名密碼窗口,輸入即可

參考:https://stackoverflow.com/questions/44514728/http-basic-access-denied-fatal-authentication-failed

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章