git 根据tag创建分支
2020-07-09 本文已影响0人
_fishman
git branch <new-branch-name> <tag-name>
example
git branch newbranch v1.0
会以tag v1.0创建新的分支newbranch
git checkout newbranch
git push origin newbranch
git branch <new-branch-name> <tag-name>
example
git branch newbranch v1.0
会以tag v1.0创建新的分支newbranch
git checkout newbranch
git push origin newbranch