git切换仓库 小记

备忘小记

1、切换远程地址

git remote set-url origin git@e.coding.net:**/***/***.git

2、推送

git push -u origin master

 

fatal: sha1 file '<stdout>' write error: Broken pipe

据说是git缓存大小问题,设置:

git config --global http.postBuffer 157286400

参考:
https://zhuanlan.zhihu.com/p/40634410

问题解决后重新

git push -u origin master

posted @ 2020-12-29 14:20  愤怒的企鹅  阅读(399)  评论(0编辑  收藏  举报