Git flow with Bitbucket pull requests

一笑奈何 提交于 2019-12-22 01:22:00

问题


I used git flow feature finish to finish a feature branch. I use the AVH fork of git-flow, which deletes the remote feature branch - but the Bitbucket pull request is still open. How should I close the Bitbucket pull request?

And what is a correct way to accept a PR in future while following the git flow workflow?


回答1:


While the AVH version of git-flow deletes the remote feature branch when you do git flow feature finish, strangely, it doesn't push anything. It leaves you on the master branch, so once you've done git push or git push origin master:master, the BitBucket pull request will automatically be marked as merged, which closes it. It is not necessary to amend the commit message - it works with the standard commit message.



来源:https://stackoverflow.com/questions/31135212/git-flow-with-bitbucket-pull-requests

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!