“Git Flow” is a branching model using the Git version control system. There is also a set of extensions for Git that make using Git Flow easier, but there aren’t installation instructions specifically for use with the excellent cmder Windows shell replacement. Here’s how to do it…
Update 25 Aug 2016: New paths for Git for Windows (previously MSysGit)
These instructions are basically the same as for Git for Windows (previously MSysGit), but tweaked slightly.
- Download the util-linux zip file and extract getopt.exe into the Git for Windows bin directory under cmder. For example: C:\tools\cmder\vendor\git-for-windows\bin
- Download the dependencies zip file and extract the two DLLs in ‘bin’ to the same place
- Clone the gitflow repo:
λ git clone --recursive git://github.com/nvie/gitflow.git
- Run the install script, specifying the right directory (notice that ‘bin’ is not included):
λ gitflow\contrib\msysgit-install.cmd C:\tools\cmder\vendor\git-for-windows
After that, you should be able to use the various
git flow commands. Try
λ git flow -h
for a sanity check.