执行share project on GitHub,报错
fatal: unable to access ‘https://github.com/xxx/xx.git/’: Failed to connect to 127.0.0.1 port 1080: Connection refused
原因:设置了代理
解决方法:
进入终端,执行
defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder
这行命令可以显示电脑的隐形文件
执行
open ~/.gitconfig
去掉proxy设置
再次尝试提交:
https://blog.csdn.net/sundaysme/article/details/100784830