git出現fatal: could not read Username for ‘https://git.xxx.com‘: Device not configured


將項目的.git/config的remote url 改成https://username@[git地址]

例子:改前:http://[git地址]  例子:https://gitee.com/username/projectNamet.git

改后:http://username@[git地址]  例子:https://username@gitee.com/username/projectNamet.git

然后push代碼輸入用戶名密碼


免責聲明!

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



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