Mac使用sourceTree报错could not read Username for 'https...': Device not configured

2,720 阅读1分钟

问题

今天在完成功能后使用git-flow‘完成功能’提交时,弹出以下报错提示

fatal: could not read Username for 'https://code.xxx.com': Device not configured
Fatal: Could not fetch feature/feature-delete from origin.

解决方法:

可能是git版本问题