我在本地的环境:
git-flow
步骤
feature x
,然后添加代码。commit
,包括对create a pull request
和push
的选项,对feature x
中对remote
分支的更改。pull request
中,我选择Close {branch} after the pull request is merged
的选项。pull request
,然后将其合并到develop
分支中。pull
对我的本地develop
分支的新更改。NOTE
pull request
之前,请先仔细阅读develop
的代码,所以问题是:在feature x
中创建了pull
后,是否有任何方法可以自动删除本地的develop
分支?
*我尝试过使用fetch
,但它不起作用。
我在本地的环境:Git通过git-flow与Bitbucket Sourcetree连接步骤:在Sourcetree中创建功能x,然后添加代码。我进行的提交包括创建拉式选项的提交...
一种简单,非自动化的解决方法是在本地存储库中定期运行分支清理命令,例如