例如要把push和pull的默认分支设置为develop,那么:git branch --set-upstream-to=origin/develop develop
例如要把push和pull的默认分支设置为develop,那么:git branch --set-upstream-to=origin/develop develop
该日志由 php 于2017年05月09日发表在 编程开发 分类下, 你可以发表评论,并在保留原文地址(http://adophper.com/article-id-1015.html)及作者的情况下引用到你的网站或博客。
原创文章转载请注明: 设置git push和pull的默认分支 | PHP
© Copyright 2011-2019 adophper.com. All Rights Reserved.
读图网科技 版权所有。蜀ICP备12031064号