window下安装git flow
前置条件:电脑已经安装了git(附件中有安装包)
Step1:
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.
说明:
下载util-linux-ng-2.14.1-bin包(可见附件),把该包中util-linux-ng-2.14.1-bin\bin目录里的getopt.exe, 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] devHow to name your supporting branch prefixes? Feature branches? [feature/] Release branches? [release/] Hotfix branches? [hotfix/] Support branches? [support/] Version tag prefix? []
window下安装git flow相关推荐
- Windows环境下msysgit安装git flow
git flow是git的一个扩展集,它基于Vincent Driessen 的分支模型,可以用来简化代码的版本发布流程. 本文讲述如何为msysgit安装git flow. 下载getopt.exe ...
- window下安装Memcache
说来惭愧,从事PHP已经1年多了,但是很多PHP相关的知识都不知道. 前一阵子看到网上流传了很久的面试题,才了解到原来还有memcache这么个东西-_-. memcache 具体是什么Google一 ...
- linux 安装git失败,Linux运维知识之linux下安装git常见故障整理
本文主要向大家介绍了Linux运维知识之linux下安装git常见故障整理,通过具体的内容向大家展现,希望对大家学习Linux运维知识有所帮助. FAQ1: Permission denied (pu ...
- nodejs window下安装与配置淘宝镜像
nodejs window下安装与配置淘宝镜像 1,前往nodejs官网下载安装软件,地址:https://nodejs.org/en/ 2,点击下一步继续安装,安装完成,在命令输入:node -v, ...
- Gitlab 服务器搭建,maven安装与jdk安装,linux下安装git
Gitlab 服务器搭建 资源地址: 链接:https://pan.baidu.com/s/1SOLyixV7UkkLj0WWQqanDQ 提取码:fjcl 官网地址 首页:https://abou ...
- 基于SourceTree 下的 Git Flow 模型
基于SourceTree 下的 Git Flow 模型 1. sourceTree 是一个开源的git 图形管理工具,可下载mac版本,windows版本 2. Git Flow 是一套使用Git进 ...
- window下安装tensorflow问题
1.在window下安装tensorflow遇到了进程无法访问的问题 Could not install packages due to an EnvironmentError: [WinError ...
- 修改informix服务器端密码,window下安装informix
<window下安装informix>由会员分享,可在线阅读,更多相关<window下安装informix(2页珍藏版)>请在人人文库网上搜索. 1.在窗口下安装informi ...
- 【BigData】Scala语言的简要介绍以及在window下安装Scala
Spark是专为大规模数据处理而设计的快速通用的计算引擎,它是用Scala语言开发实现的.大数据技术本身就是数据计算的技术,而Scala既有面向对象组织项目工程的能力,又具备计算数据的功能,同时与Sp ...
最新文章
- Request To JavaBean(请求对象转换为JavaBean对象)
- R语言可视化包ggplot2包改变边距(margin)实战(Modify the Margins)
- python2和3的区别字符编码格式上下文管理is和==的区别
- 规划搜索产品时,我们可以如何着手?
- 后处理没有pui文件怎么打开_UG后处理添加具体步骤
- ITK:创建样本测量列表
- php dhcp,ip如何设置dhcp
- 2021年南宁二中高考成绩查询,2021广西高考圆满结束,6月23日可查询成绩
- 一步到位,用SQL检索ElasticSearch
- 周鸿祎:通往伟大企业之路
- 【英语天天读】Albert Einstein’s Advices
- java shell文件_Java 文件读写示例1
- 未来能源互联网技术革命,能源产业大数据应用解析
- ios 融云 重写对话列表_iOS消息体系架构详解-融云即时通讯云
- 2022山东省安全员C证考试试题及答案
- centos7 Rsync服务端和windows cwRsync实现数据同步(增量备份)
- 用VMware克隆CentOS 6.4后修改HWaddr
- 超声波传感器(CHx01) 学习笔记 Ⅳ- 程序移植
- Python程序设计基础教学大纲
- L2TP 配置 实践出配置