-1
當前我正在使用Git流程。將修補程序推送到服務器的步驟是什麼?
的分支develop
我運行此命令:
$ git flow hotfix start ID20208
一切ok,到目前爲止。
然後,我做我的更改,我運行git add
和git commit
。
接下來,我跑git push
,我收到此警報:
fatal: The current branch hotfix/ID20208 has no upstream branch. To push the current branch and set the remote as upstream, use
git push --set-upstream origin hotfix/ID20208
我的問題是:這些是正確的步驟,推動一個修補程序到服務器?
該分支無處可推。 'git push -set-upstream origin hotfix/ID20208'告訴它它被推送到哪裏。你必須運行它,所以它可以在git服務器上運行,或者你必須將它合併到另一個可以去的地方。 我從來沒有使用過「git flow」,因此可能會有另一個命令將修補程序推送給master或其他分支,但是使用vanilla git就是您要做的。 –