有没有办法在Windows上安装Git Flow?我试过this tutorial,但我无法理解。
我已经在我的电脑上安装了Git,我可以在目前的Git安装中使用GitFlow吗?
答案 0 :(得分:2)
如果您具有Sourcetree 或(如果您安装Sourcetree),则可以在此处找到GitFlow选项。这是使用GitFlow的最简单方法之一。
答案 1 :(得分:1)
如前所述,Gitflow 从 2.5.3 开始成为 Git 发行版的一部分。但如果您运行较早的版本,则可以按照以下 Gitflow install 步骤操作:
从 SourceForge 下载 GnuWin 的 bin 和依赖文件。将 GnuWin 下载的内容解压到临时文件夹
从解压的bin文件夹中,将这三个文件复制到Git的bin目录下:libintl3.dll
and libiconv2.dll
and getopt.exe
从您的 Git 安装文件夹运行以下命令:git clone --recursive git://github.com/nvie/gitflow.git
在克隆的 repo 的 contrib 文件夹中使用管理打开命令窗口
运行以下命令,指向 Git 的安装根目录:msysgit-install.cmd "C:\Program Files\Git"
运行 git flow version 以验证 Windows Gitflow 安装和 git flow init 以创建存储库
安装该工具后,您就可以开始使用 Gitflow 工作流程了。