我對Git非常陌生,現在開始學習命令行版本。我相信我的git流程安裝不正確。我從一臺電腦上運行。Git flow命令錯誤:'flow'不是git命令
當我運行以下命令:
git flow feature start JamesTest
我得到以下錯誤:
git: 'flow' is not a git command. See 'git --help'
Did you mean any of these?
貌似不是從所有路徑識別的混帳流命令?我該如何解決?
我對Git非常陌生,現在開始學習命令行版本。我相信我的git流程安裝不正確。我從一臺電腦上運行。Git flow命令錯誤:'flow'不是git命令
當我運行以下命令:
git flow feature start JamesTest
我得到以下錯誤:
git: 'flow' is not a git command. See 'git --help'
Did you mean any of these?
貌似不是從所有路徑識別的混帳流命令?我該如何解決?
安裝Git,但Gitflow不是。 Gitflow是一個Git擴展,必須單獨安裝。
安裝它described on GitHub,你應該罰款;)
如果你想安裝在Windows上的Git流量,做如下(根據this instructions)
克隆git的流量儲存庫
git clone --recursive git://github.com/nvie/gitflow.git
下載getopt
存檔並提取getopt.exe
文件到locati (類似於C:\ Programs \ Git \ bin)
執行以下命令,其中參數是Git路徑安裝(類似於C:\ Programs \ Git)。您無需在此指定bin
目錄。
contrib\msysgit-install.cmd "C:\Programs\Git"
就是這樣。使用命令檢查所有工作是否正常git flow
謝謝,這是比Lubos中的說明更簡單的一組指令:) – 2016-10-12 04:36:10
'flow'不是原生Git命令。這更像是一個Git插件或擴展。你在做什麼操作系統? – Chris 2015-02-10 18:54:04
嗨克里斯 - 我在Win 7 Enterprise上運行。 – NetSystemAdmin 2015-02-10 19:00:05
不幸的是,在Windows上安裝[有點涉及](https://github.com/nvie/gitflow/wiki/Windows)。如果您從http://git-scm.com/安裝Git,則應遵循MSysGit說明。 – Chris 2015-02-10 19:29:29