I'm facing problem while finishing hotfix or release branch. Gitflow merges the horfix or release to master and not to develop. Instead of merging hotfix or release back to develop, master branch is back merged to develop
Source tree version: 2.8.4
Embedded git: 2.15.1
sh.exe C:\Users\john\AppData\Local\Atlassian\SourceTree\gitflow_local\gitflow\git-flow hotfix start test2
sh.exe C:\Users\john\AppData\Local\Atlassian\SourceTree\gitflow_local\gitflow\git-flow hotfix finish -p -k -n test2
sh.exe C:\Users\john\AppData\Local\Atlassian\SourceTree\gitflow_local\gitflow\git-flow hotfix finish -p -k -n test2
Your branch is up to date with 'origin/master'.
Switched to branch 'master'
Merge made by the 'recursive' strategy.
developers.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Your branch is up to date with 'origin/develop'.
Switched to branch 'develop'
Merge made by the 'recursive' strategy.
developers.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
To https://github.com/johnges/tutorial.git
073a968..7ed2963 develop -> develop
To https://github.com/johnges/tutorial.git
88e9f15..73ea02f master -> master
Summary of actions:
- Hotfix branch 'hotfix/test2' has been merged into 'master'
- Master branch 'master' has been back-merged into 'develop'
- Hotfix branch 'hotfix/test2' is still locally available; it is still remotely available on 'origin'
- 'develop', 'master' and tags have been pushed to 'origin'
- You are now on branch 'develop'
Completed successfully.