git安装目录_为什么大多数人在Windows上的安装git flow会失败?

8f98d3e82bd9c75e24351d4fd28c477e.png

作者:一路博客 

来源:https://dwz.cn/vaHSsQj8

# Git安装 这是地址:https://git-for-windows.github.io/,如果没有安装的,可以看看本系统的教程。 # git flow安装介绍 这是地址:https://github.com/nvie/gitflow/wiki/Windows ,gitflow在github上的仓库,基本写的不详细 # 安装说明 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文件夹。 54f3e34a3aadf57abf5c1e9f3a25a231.png # 执行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
安装失败: ca952cfb5391d44b70eaf09a32f6d666.png 注:提示失败找不到Git安装目录,需要改成如下:
C:\Program Files (x86)\Git\gitflow> contrib\msysgit-install.cmd "C:\Program Files (x86)\Git"
安装成功: ecfcdcbe6d31a56c949898315440b329.png 完成后,可以在git bash运行 git flow help查看 # 初始化 执行 git flow init,基本都一直回车就行 例如:
No branches exist yet. Base branches must be created now.Branch name for production releases: [master] Branch name for "next release" development: [develop] How to name your supporting branch prefixes?Feature branches? [feature/] Release branches? [release/] Hotfix branches? [hotfix/] Support branches? [support/] Version tag prefix? []
热文推荐

老王,什么时候该用MySQL,什么时候该用ES呢?

阿里校招回忆录(已成功拿到offer)阿里面试官鬼得很,问我为什么他们阿里要禁用Executors创建线程池?

3d6cceb133ba1d0fdee698db9459e736.png

同时,分享一份Java面试资料给大家,覆盖了算法题目、常见面试题、JVM、锁、高并发、反射、Spring原理、微服务、Zookeeper、数据库、数据结构等等

获取方式:点  在看,关注公众号并回复 面试 领取。

	
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值