首页 / GIT / window下安装git flow
window下安装git flow
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了window下安装git flow,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含2096字,纯文字阅读大概需要3分钟。
内容图文
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 installlibintl3.dll
and libiconv2.dll
from the Dependencies packages (libintl and libiconv), into the same directory.libintl3.dll
和 libiconv2.dll,这3个文件放到你git的安装目录中的bin目录下。
Step2:
Clone the git-flow sources from GitHub:
$ git clone --recursive git://github.com/nvie/gitflow.git
$ cd gitflow
说明:
然后执行以上命令,下载源码,并且cd到gitflow目录下。
Step3:
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:\gitflow> contrib\msysgit-install.cmd
说明:
然后使用cmd命令,cd到刚下载下来的gitfow的contrib目录下,执行msysgit-install.cmd命令,注意要管理员权限,(报错后悔有提示,后面跟上git的安装路径名)
Step4:
In Git bash create a symbolic link for git-flow so that you can actually use the $ git flow
command from any location.
$ ln -s /C/gitflow/git-flow git-flow
说明:
把上面的/C/gitflow/路径替换成真实的下载下来的gitflow的路径
至此已经完成安装, 你可以使用git flow的命令试试啦,如下就是正常的init信息
(git使用文档:http://danielkummer.github.io/git-flow-cheatsheet/index.zh_CN.html)
$ git flow init
Which branch should be used for bringing forth production releases?
- 3.24banner
- dayloan
- dev
- fix1.5.0
- fix1.5.0_5
- fix_issue_74
- master
- release1.2
Branch name for production releases: [master]
Which branch should be used for integration of the "next release"?
- 3.24banner
- dayloan
- dev
- fix1.5.0
- fix1.5.0_5
- fix_issue_74
- release1.2
Branch name for "next release" development: [master] dev
How to name your supporting branch prefixes?
Feature branches? [feature/]
Release branches? [release/]
Hotfix branches? [hotfix/]
Support branches? [support/]
Version tag prefix? []
原文:http://www.cnblogs.com/chenyao/p/4496739.html
内容总结
以上是互联网集市为您收集整理的window下安装git flow全部内容,希望文章能够帮你解决window下安装git flow所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。