• window下安装git flow


    轻松4步搞定哦! 原文档地址: https://github.com/nvie/gitflow/wiki/Windows。 
     
    ===================================================================
    前置条件:电脑已经安装了git(附件中有安装包)
    Step1: 
    Download and install getopt.exe from the util-linux package into C:Program FilesGitin. (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.
    说明:
    下载util-linux-ng-2.14.1-bin包(可见附件),把该包中util-linux-ng-2.14.1-binin目录里的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> contribmsysgit-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 flowcommand 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? []
  • 相关阅读:
    Ubuntu18.04 修改DNS
    windows系统如何通过Xshell 客户端连接 linux系统(主要介绍ubuntu系统)
    如何获取 docker 容器(container)的 ip 地址(转)
    基于Docker搭建LNMP环境(转)
    高并发处理【电商抢购】(转)
    [golang] Glide 包管理
    如何查看2to3.PY的帮助文档
    python模块之lib2to3(py2转py3自动化工具)
    python模块之keyword
    python模块之JSON
  • 原文地址:https://www.cnblogs.com/chenyao/p/4496739.html
Copyright © 2020-2023  润新知