绑定完请刷新页面
取消
刷新

分享好友

×
取消 复制
为什么大多数人在Windows上的安装git flow会失败?
2019-11-25 10:17:49

Download and install getopt.exe from the util-linux package into C:\Program Files\Git\bin. (Only getopt.exe, the others util-linux files are not used). Also install libintl3.dll and libiconv2.dll from the Dependencies packages (libintl and libiconv), into the same directory.

说明:把链接里面的3个文件对应的二进制文件下载后,分别解压复制出对应的东西即可。

即复制getopt.exe、libint13.dll、libiconv2.dll到Git目录的bin下面

Clone the git-flow sources from GitHub:

$ git clone --recursive git://github.com/nvie/gitflow.git

说明:

我是在Git安装目录下,执行clone操作的,完成后会多出一个gitflow文件夹。

# 执行cmd (打开Windows的cmd窗口执行)

Run the msysgit-install script from a command-line prompt (you may have to run it with "Full Administrator" rights if you installed msysgit with its installer, and ensure you're running from a Windows command prompt, not MINGW):

C:\Program Files (x86)\Git\gitflow> contrib\msysgit-install.cmd

安装失败:

注:提示失败找不到Git安装目录,需要改成如下:

C:\Program Files (x86)\Git\gitflow> contrib\msysgit-install.cmd "C:\Program Files (x86)\Git"

安装成功:

完成后,可以在git bash运行 git flow help查看

# 初始化

执行 git flow init,基本都一直回车就行

例如:

分享好友

分享这个小栈给你的朋友们,一起进步吧。

应用开发
创建时间:2020-06-17 15:31:04
应用软件开发是指使用程序语言C#、java、 c++、vb等语言编写,主要是用于商业、生活应用的软件的开发。
展开
订阅须知

• 所有用户可根据关注领域订阅专区或所有专区

• 付费订阅:虚拟交易,一经交易不退款;若特殊情况,可3日内客服咨询

• 专区发布评论属默认订阅所评论专区(除付费小栈外)

技术专家

查看更多
  • 栈栈
    专家
戳我,来吐槽~