初次将gitee与sourcetree联合起来使用,还是遇到了不少问题,其中最让人烦恼的就是在我修改了一下用户名之后,便无法在Sourcetree直接推送到gitee,很是让人郁闷。
之前经常使用tortoiseGit来进行相关的git操作,但解除了Sourcetree之后,才发现使用GUI进行git操作也有着很不错的体验。Sourcetree支持Windows和MacOS,对于经常在Windows工作下的我来说,已经足够了,但还是希望能够尽快推出Linux版本,实现对全平台的支持。
1. Sourcetree身份验证失败,推送失败
推送时,问题如下推送失败:
git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags origin tree:tree
remote: [31mliu-jiao951128: Incorrect username or password (access token)[0m
fatal: Authentication failed for ‘https://gitee.com/liu-jiao-951128/hmmmpc.git/’
Pushing to https://gitee.com/liu-jiao-951128/hmmmpc.git

2. 解决方案
- 进入工具-选项-验证,删除已添加的gitee账户;


302

被折叠的 条评论
为什么被折叠?



