为什么没有 `git flow hotfix fetch`?
Why there's no `git flow hotfix fetch`?
与地理上分散的开发团队合作时,有时会发生同事准备 git flow hotfix
并将其发布以供审查(或者因为他没有对 finish
的资助)。
当我 git pull
存储库时,我无法以正确的方式获取修补程序:分支存在于本地存储库中,但未标记为修补程序。
如何正确执行此工作流程?
里卡多:
$ git pull
$ git flow hotfix start myhotfix
...
$ git commit -m "Fixed!" -a
$ git flow hotfix publish
卢卡:
$ git pull
$ git flow hotfix
No hotfix branches exist.
工作流程是:
里卡多:
$ git pull
$ git flow hotfix start myhotfix
...
$ git commit -m "Fixed!" -a
$ git flow hotfix publish
卢卡:
$ git pull
$ git flow hotfix
No hotfix branches exist.
$ git checkout hotfix/myhotfix
$ git flow hotfix
* myhotfix
$ git flow hotfix finish
与地理上分散的开发团队合作时,有时会发生同事准备 git flow hotfix
并将其发布以供审查(或者因为他没有对 finish
的资助)。
当我 git pull
存储库时,我无法以正确的方式获取修补程序:分支存在于本地存储库中,但未标记为修补程序。
如何正确执行此工作流程?
里卡多:
$ git pull
$ git flow hotfix start myhotfix
...
$ git commit -m "Fixed!" -a
$ git flow hotfix publish
卢卡:
$ git pull
$ git flow hotfix
No hotfix branches exist.
工作流程是:
里卡多:
$ git pull
$ git flow hotfix start myhotfix
...
$ git commit -m "Fixed!" -a
$ git flow hotfix publish
卢卡:
$ git pull
$ git flow hotfix
No hotfix branches exist.
$ git checkout hotfix/myhotfix
$ git flow hotfix
* myhotfix
$ git flow hotfix finish