[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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM