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
本文标题:git 根据tag创建分支
本文链接:https://www.haomeiwen.com/subject/nihjcktx.html
网友评论