我是GIT
和GIT-Flow
的新手。[在我的python-django项目中]
我做了什么:
git flow feature start new_feature
# perform some commits on the feature/new_feature branch
git push origin feature/new_feature
git flow feature finish new_feature
# I suppose that merges feature/new_feature to develop and deletes feature/new_feature
git push origin develop # Pushes the new changes to remote
问题:
- 在我的本地机器上,feature/new_feature 分支似乎已经被删除了。
- 但是在
github
[ 我的远程仓库名称为 origin ] 上,我可以看到 feature/new_feature 分支。 - 我感到困惑,因为它不应该显示已删除的分支。
- 我查找了解决方案 - 但它们说你应该手动在远程上删除它们,这似乎不适用于
git flow
的抽象概念。
那么,在使用 git-flow
时,你们是否必须每次都要从所有远程仓库中删除所有特性分支吗?
我做错了什么吗?