git强推分支,覆盖其他分支;
操作:
下载branch-1.3代码;
$ git clone gitlab@gitlab.zte.net:zte-dba-service/branch.git
$ git remote add origin2 gitlab@gitlab.zte.net:zte-service/branch.git
$ git push origin2 master -f
注意,此时需要在gitlab上开启覆盖设置
git强推分支,覆盖其他分支;
操作:
下载branch-1.3代码;
$ git clone gitlab@gitlab.zte.net:zte-dba-service/branch.git
$ git remote add origin2 gitlab@gitlab.zte.net:zte-service/branch.git
$ git push origin2 master -f
注意,此时需要在gitlab上开启覆盖设置