将本地开发完的SDK代码上传到SVN上面:an error occurred while contacting the repository The server may be unreachable or the URL may be incorrect

将本地开发完的SDK代码上传到SVN上面:an error occurred while contacting the repository  The server may be unreachable or the URL may be incorrect 

突然间意识到,我的代码是在本地搭建了一个git仓库用来管理的,里面还有.git的隐藏文件。

解决:在终端中按照下面的命令,进行显示和隐藏 隐藏文件

# 显示隐藏文件 

defaults write com.apple.finder AppleShowAllFiles Yes && killall Finder

# 不显示隐藏文件 

defaults write com.apple.finder AppleShowAllFiles No && killall Finder

将该删掉的删掉即可

原文地址:https://www.cnblogs.com/richard-youth/p/8557017.html