git checkout master -b daily-8-18 //创建分支
git add .
git commit -m 'description'
git push origin daily-8-18 //push到分支上
git checkout master //切回到主分支
git merge daily-8-19 //合并到主分支
git push origin master //推送到主干
git checkout master -b daily-8-18 //创建分支
git add .
git commit -m 'description'
git push origin daily-8-18 //push到分支上
git checkout master //切回到主分支
git merge daily-8-19 //合并到主分支
git push origin master //推送到主干
本文标题:git 创建分支
本文链接:https://www.haomeiwen.com/subject/foefiftx.html
网友评论