我試圖推動一個分支(git push <remote> master
)到我的遠程存儲庫。當我從CMD做,提示我用我的用戶名和密碼:致命:身份驗證失敗在cmd git
Username for 'https://<my_domain>.visualstudio.com': <my_user_name>
Password for 'https://<my_user_name>@<my_domain>.visualstudio.com':
,並輸入密碼以後,我得到:
fatal: Authentication failed for https://<my_domain>.visualstudio.com/<my_repo>'
但是,當我從git bash執行相同的操作時,它只是起作用,而不提示用戶名和密碼。
我檢查了倉庫中的用戶名和密碼,visual studio team services
託管存儲庫,它看起來像在工作。
檢查git config user.name
和git config user.password
git bash
確切地輸出了我在cmd中輸入的用戶名和密碼。
有誰知道我在做什麼錯誤的身份驗證,以及如何配置git從cmd正確連接?
我查看了網站上的類似問題,但沒有找到任何可行的工作..謝謝!