Git-flow发布完成:开发而不是master

时间:2014-09-24 15:18:36

标签: git branching-and-merging git-flow

这就是我所做的:

(develop)$      ...
(develop)$      git flow release start v0.1
(release/v0.1)$ git flow release finish v0.1
(master)$       git checkout develop
(develop)$      ...

为什么我要运行checkout develop
Git-flow应该让我回到develop分支,而不是master

如果它有助于发现问题,那么我的git flow release finish v0.1

之后会发生什么
Branches 'master' and 'origin/master' have diverged.
And local branch 'master' is ahead of 'origin/master'.
Switched to branch 'master'
Your branch is ahead of 'origin/master' by 1 commits.
Merge made by recursive.
helloworld.txt        |    1 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Deleted branch release/v0.1 (was 34bb27e).

Summary of actions:
- Latest objects have been fetched from 'origin'
- Release branch has been merged into 'master'
- The release was tagged 'v0.1'
- Release branch has been back-merged into 'develop'
- Release branch 'release/v0.1' has been deleted

0 个答案:

没有答案