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代码输入用户名密码