如果主分支不为master,如new_trunk:
1、# git checkout -b V3.18.45 origin/V3.18.45
2、# git branch -va
3、# git checkout new_trunk
4、# git merge V3.18.45 -m “Build-Task@XXXX merge V3.18.45 bug into new_trunk”
5、合并后,用git log 查看。
6、push到远程分支:
# git push origin HEAD:refs/for/new_trunk%r=denxxx@xxx.com.cn
标签:origin,git,45,V3.18,new,分支 From: https://www.cnblogs.com/cnchengv/p/17098906.html