5344
5432
1万
管理员
本站资源如失效,请点击反馈!
git checkout -b develop master
# 切换到Master分支 git checkout master # 对Develop分支进行合并 git merge --no-ff develop
* 功能(feature)分支 * 预发布(release)分支 * 修补bug(fixbug)分支
git checkout -b feature-x develop
git checkout develop git merge --no-ff feature-x
git branch -d feature-x
git checkout -b release-1.2 develop
git checkout master git merge --no-ff release-1.2 # 对合并生成的新节点,做一个标签 git tag -a 1.2
git checkout develop git merge --no-ff release-1.2
git branch -d release-1.2
git checkout -b fixbug-0.1 master
git checkout master git merge --no-ff fixbug-0.1 git tag -a 0.1.1
git checkout develop git merge --no-ff fixbug-0.1
git branch -d fixbug-0.1
使用道具 举报
本版积分规则 发表回复 回帖后跳转到最后一页
手机版|飞雪团队
GMT+8, 2024-11-24 05:39 , Processed in 0.081942 second(s), 25 queries , Gzip On.
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.