git push --no-thin

时间:2015-05-21 12:26:32   收藏:0   阅读:6525

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

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

$ git push --no-thin origin dev

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

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!