Git Flow 命令使用

开始一个版本:

$ git-flow release start v1.1
Switched to a new branch 'release/v1.1'

Summary of actions:
- A new branch 'release/v1.1' was created, based on 'test'
- You are now on branch 'release/v1.1'

Follow-up actions:
- Bump the version number now!
- Start committing last-minute fixes in preparing your release
- When done, run:

     git flow release finish 'v1.1'

完成版本发布:

$ git-flow release finish v1.1
Switched to branch 'master'
Your branch is up to date with 'origin/master'.
Already up to date!
Merge made by the 'recursive' strategy.
Already on 'master'
Your branch is ahead of 'origin/master' by 2 commits.
  (use "git push" to publish your local commits)
Switched to branch 'test'
Your branch is up to date with 'origin/test'.
Already up to date!
Merge made by the 'recursive' strategy.
Deleted branch release/v1.1 (was ac32fd4).

Summary of actions:
- Release branch 'release/v1.1' has been merged into 'master'
- The release was tagged 'v1.1'
- Release tag 'v1.1' has been back-merged into 'test'
- Release branch 'release/v1.1' has been locally deleted
- You are now on branch 'test'

发布了76 篇原创文章 · 获赞 27 · 访问量 9万+

猜你喜欢

转载自blog.csdn.net/kunyus/article/details/103369817
今日推荐