git push --no-thin

有时候我们执行 git push 将一个 new branch 推送到远程仓库的时候,会被远程仓库阻止。

可能是我们没有相应的权限吧。然而,我在 git push 的时候加上 --no-thin 参数,就可以将其推送上去了。

$ git push --no-thin origin dev

  注意,这个命令可能会受到不同程度的权限的影响,因此不能保证一定能推送上去。不过我用这个push成功了。

文章来自:http://www.cnblogs.com/ayseeing/p/4519248.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3