Mac版SourceTree创建新仓库时输入账号密码报错

在Mac上使用SourceTree创建新仓库时遇到输入账号密码后报错的问题,错误信息显示‘one or more parameters required to renew token is nil.’。解决方法包括删除~Library/Preferences/中的com.torusknot.SourceTreeNotMAS.plist文件,以及在钥匙串访问中解锁后再尝试。通过这些步骤通常可以解决Authentication failed的问题。
摘要由CSDN通过智能技术生成

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路径。

解决方法:

  1. 关闭SourceTree
  2. 从Finder中进入路径~/Library/Preferences/ ,找到文件com.torusknot.SourceTreeNotMAS.plist,并删除该文件
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值