美文网首页
mac 下 sourcetree 下载 使用 安装svn

mac 下 sourcetree 下载 使用 安装svn

作者: lkqin | 来源:发表于2015-10-31 11:02 被阅读16601次

mac 很多svn工具为什么选sourcetree 呢 只因为TA免费 不过免费没好货你懂的 就会有很多问题 请各位看官往下看

https://www.sourcetreeapp.com/ 下载 sourcetree (目前不可以用 也可以在http://www.pc6.com/mac/116568.html 这个网站上下载)
第一个错误 提示错误的https
解决方法:在命令提示行
svn ls https://192.168.1.252:8443/XXXXX/
https请修改为自己的
之后选p 然后输入密码就可以了
这次 sourcetree可以识别了 不过还是报错

    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/5.18.2/darwin-thread-multi-2level /Applications/SourceTree.app/Contents/Resources/git_local/lib/perl5/site_perl/5.18.2   /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/Utils.pm line 6.

BEGIN failed--compilation aborted at /Applications/SourceTree.app/Contents/Resources/git_local/lib/perl5/site_perl/Git/SVN/Utils.pm line 6.

Compilation failed in require at /Applications/SourceTree.app/Contents/Resources/git_local/lib/perl5/site_perl/Git/SVN.pm line 26.

BEGIN failed--compilation aborted at /Applications/SourceTree.app/Contents/Resources/git_local/lib/perl5/site_perl/Git/SVN.pm line 33.

Compilation failed in require at /Applications/SourceTree.app/Contents/Resources/git_local/libexec/git-core/git-svn line 25.

BEGIN failed--compilation aborted at /Applications/SourceTree.app/Contents/Resources/git_local/libexec/git-core/git-svn line 25.

解决方法: 1下载xcode (本人要开发ios所以下载了这个大家伙)

之后 在命令提示行 输入

xcode-select --install

选择安装 等5-6分钟就好了

这时候sourcetree还是不行 需要继续在命令提示行 输入

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
之后才算真的好了 

参考:
http://tech.myonlylonely.com/sourcetree%E5%9C%A8yosemite%E4%B8%8B%E6%8F%90%E4%BA%A4%E5%88%B0sae%E7%9A%84%E4%B8%80%E4%BA%9B%E9%97%AE%E9%A2%98%E8%A7%A3%E5%86%B3/#codesyntax_1

最后祝大家用的愉快

相关文章

  • mac 下 sourcetree 下载 使用 安装svn

    mac 很多svn工具为什么选sourcetree 呢 只因为TA免费 不过免费没好货你懂的 就会有很多问题 请各...

  • SVN客户端 安装和使用

    Mac 环境下svn客户端安装和简单使用 Mac 下已经自带了svn环境 。使用svn --version 查看版...

  • SourceTree 管理SVN

    Mac SourceTree 直接克隆 Svn 库的时候貌似没有地方输入 账号密码,可以先使用Mac 自带的SVN...

  • 5.开发有关的工具使用

    主要为(sourceTree,git,svn,github,OSChina的使用等)工具使用的方法: Mac端开发...

  • SourceTree 使用

    1. 安装使用 下载地址:Sourcetree Free Git 下载完成后,在安装SourceTree的过程中,...

  • 【工具】CornerStone详解

    iOS mac下的SVN工具:Cornerstone的使用 一、 Cornerstone下载地址 http:/...

  • Mac 安装SVN 报错问题解决

    Mac 安装SVN 报错问题解决 问题一下载 需要先安装 brew 这里要注意: 使用国外镜像,最终也会报错所以使...

  • 在ubuntu下编译运行HEVC参考软件HM-16.20

    在ubuntu下安装svn sudo apt-get install subversion 使用svn去下载参考软...

  • 版本控制

    目录 一,Git 二,SVN 三,参考 说明:Mac上使用,持续更新; 一,Git SourceTree管理Git...

  • SVN

    SVN 安装:傻瓜式安装 SVN使用: checkout 下载项目: 安装完成以后,可以在任意文件下,点击右键,弹...

网友评论

      本文标题:mac 下 sourcetree 下载 使用 安装svn

      本文链接:https://www.haomeiwen.com/subject/agnfhttx.html