git 创建分支并提交到远程
git add .
git commit -m"log"
git checkout -b [newBranch]
git push origin [newBranch]
其中 git checkout -b [newBranch]为新建并切换到newBranch分支
git 创建分支并提交到远程
git add .
git commit -m"log"
git checkout -b [newBranch]
git push origin [newBranch]
其中 git checkout -b [newBranch]为新建并切换到newBranch分支
本文标题:GIT新建分支
本文链接:https://www.haomeiwen.com/subject/xxlklktx.html
网友评论