每天一句git

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_35703954/article/details/82344355
  1. 当远程没有对应的分支时,在local 创建分支,并push到远程。
    [root@localhost XX]# git push origin newbranchesname 
    
    /*如果仅仅使用git push的话在远程是看不到该分支的,因为远程本来就没有这个分支。所以需要origin /newbranchesname*/
    

猜你喜欢

转载自blog.csdn.net/qq_35703954/article/details/82344355