[SourceTree] - 提交代码失败 "git -c diff.mnemonicprefix=false -c core.quotepath=false" 之解决

背景

使用 SourceTree 提交代码失败,尝试了重装 SourceTree 和 Git 问题依旧。

错误信息

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags origin DEV:DEV
fatal: unable to access 'https://bitbucket.org/xxxxxx/xxxxxx.git/': Received HTTP code 404 from proxy after CONNECT
Pushing to https://xxxxxx@bitbucket.org/xxxxxx/xxxxxx.git
完成时带有错误,见上文。

解决

在 "工具 / 选项 / 网络" 中,将 "向 Git / Mercurial 配置文件中添加代理服务器信息" 取消选中,即可。

参考资料

https://my.oschina.net/yycs/blog/914900

posted @ 2019-08-04 22:06  jinzesudawei  阅读(87910)  评论(0编辑  收藏  举报