SourceTree提示Authentication failed for 的解决方案
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了SourceTree提示Authentication failed for 的解决方案相关的知识,希望对你有一定的参考价值。
参考技术A 从远端拉取拉取失败,sourcetree提示Authentication failed(下图)我在解决此问题的过程中掌握了三个方案。
在控制台输入下面命令,移除凭证。接下来就会弹出一个小窗口,提示你输入密码。
补充存储凭证命令
找到文件目录C:\Users\PongLyon\AppData\Local\Atlassian\SourceTree 并删除passwd文件(记得把sourceTree关闭)。
同样打开文件目录C:\Users\PongLyon\AppData\Local\Atlassian\SourceTree。找到userhosts文件并删除,便能解决上图的问题。
修改凭据,效果不是很明显。
打开凭据管理器,选中Windows凭据找在普通凭据里找到对应的网络地址点击编辑。
sourceTree 更新svn提示can't locate SVN/Core.pm
| 导语 使用sourceTree管理SVN,报错 can‘t locate SVN/Core.pm
详细报错:
Can‘t locate SVN/Core.pm in @INC (you may need to install the SVN::Core module) (@INC contains: /usr/local/git/lib/perl5/site_perl /Applications/SourceTree.app/Contents/Resources/git_local/lib/perl5/site_perl /Library/Perl/5.18/darwin-thread-multi-2level /Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread-multi-2level /Network/Library/Perl/5.18 /Library/Perl/Updates/5.18.2 /System/Library/Perl/5.18/darwin-thread-multi-2level /System/Library/Perl/5.18 /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level /System/Library/Perl/Extras/5.18 .) at /Applications/SourceTree.app/Contents/Resources/git_local/lib/perl5/site_perl/Git/SVN/Editor.pm line 5. BEGIN failed--compilation aborted at /Applications/SourceTree.app/Contents/Resources/git_local/lib/perl5/site_perl/Git/SVN/Editor.pm line 5. Compilation failed in require at /Applications/SourceTree.app/Contents/Resources/git_local/libexec/git-core/git-svn line 81. BEGIN failed--compilation aborted at /Applications/SourceTree.app/Contents/Resources/git_local/libexec/git-core/git-svn line 81. Completed with errors, see above
网上找到解决办法:
sudo ln -s /Applications/Xcode.app/Contents/Developer/Library/Perl/5.18/darwin-thread-multi-2level/SVN /System/Library/Perl/Extras/5.18/SVN sudo ln -s /Applications/Xcode.app/Contents/Developer/Library/Perl/5.18/darwin-thread-multi-2level/auto/SVN/ /System/Library/Perl/Extras/5.18/auto/SVN
但是无奈报错:
ln: /System/Library/Perl/Extras/5.18/SVN: Operation not permitted
google了一下,找到一个解决方法
sudo ln -s /Applications/Xcode.app/Contents/Developer/Library/Perl/5.18/darwin-thread-multi-2level/SVN/ /Library/Perl/5.18/SVN sudo mkdir /Library/Perl/5.18/auto sudo ln -s /Applications/Xcode.app/Contents/Developer/Library/Perl/5.18/darwin-thread-multi-2level/auto/SVN/ /Library/Perl/5.18/auto/SVN
欧克,终于可以用sourceTree来管理SVN代码了~
以上是关于SourceTree提示Authentication failed for 的解决方案的主要内容,如果未能解决你的问题,请参考以下文章
sourceTree 更新svn提示can't locate SVN/Core.pm