Mac上的SourceTree新建仓库,从URL克隆,要求输入账号密码:
输入四次账号密码后报错:
“2018-01-25 17:07:08.977 git-credential-sourcetree[23269:483753] Something went wrong. one or more parameters required to renew token is nil.
fatal: Authentication failed for ‘https:/…git/’
2018-01-25 17:07:14.983 git-credential-sourcetree[23278:483854] Something went wrong. one or more parameters required to renew token is nil.
fatal: Authentication failed for ‘https://…git/’
2018-01-25 17:07:22.999 git-credential-sourcetree[23285:484038] Something went wrong. one or more parameters required to renew token is nil.
Completed with errors, see above”
最终显示无效URL路径。
解决方法:
- 关闭SourceTree
- 从Finder中进入路径~/Library/Preferences/ ,找到文件com.torusknot.SourceTreeNotMAS.plist,并删除该文件