2017-12-11 18 views
1

時々地理的に分散した開発チームと協力して、同僚がgit flow hotfixを準備し、レビューのために公開します(またはfinishへの助成金がないため)。なぜ `git flow hotfix fetch`はありませんか?

私が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. 

答えて

2

ワークフローである:

リカルド:

$ 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 
関連する問題