Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git-flow does not delete remote branch when published release is finished #411

Open
harshadyeola opened this issue May 25, 2015 · 4 comments

Comments

@harshadyeola
Copy link

git flow does not delete remote branch when a release which is published and then finished.
It deletes release branch on local but not on remote

╰─± git flow release finish v3.1.12 
Switched to branch 'master'
Merge made by the 'recursive' strategy.
 ee/cli/plugins/example.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Deleted branch release/v3.1.12 (was 254971c).

Summary of actions:
- Latest objects have been fetched from 'origin'
- Release branch has been merged into 'master'
- The release was tagged 'v3.1.12'
- Release branch has been back-merged into 'develop'
- Release branch 'release/v3.1.12' has been deleted
@josejlm2
Copy link

I also have the same problem.

@srt32
Copy link

srt32 commented Jul 21, 2015

Are you using the push flag (https://github.com/nvie/gitflow/blob/master/git-flow-release#L193) ? It seems that if the push flag is flipped to true, then part of the logic is to attempt to delete the remote branch (after pushing).

Reference: https://github.com/nvie/gitflow/blob/master/git-flow-release#L269-L280

@gavinengel
Copy link

according to this thread, you can kill the remote feature branch as well with: git flow feature finish -F.

@rn54n
Copy link

rn54n commented Sep 13, 2017

I had the same problem with git flow release finish 1.0.0
After pushing my tags with git push --tags
I run git push origin :release/1.0.0 and then my release remote branch was deleted on gitlab repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants