Skip to content

Instantly share code, notes, and snippets.

@smonn
Last active March 19, 2025 09:25
Show Gist options
  • Save smonn/5afdd2407b626e2889af to your computer and use it in GitHub Desktop.
Save smonn/5afdd2407b626e2889af to your computer and use it in GitHub Desktop.
How to install git-flow in Windows

How to install git-flow in Windows

When it says "Run command", copy and paste the command part into a CLI, such as Powershell or the command prompt (make sure Git is in the path).

  1. Make sure Git is installed.
  2. From http://gnuwin32.sourceforge.net/packages/util-linux-ng.htm, download the binaries and dependencies zip-files.
  3. Extract them and copy the contents of the bin-folders into your Git installation's bin folder, for example C:\Program Files (x86)\Git\bin. To find out where it is run where.exe git.
  4. Set root directory to where you want to clone git-flow.
  5. Run git clone --recursive git://github.com/nvie/gitflow.git
  6. Run cd gitflow/contrib
  7. Run msysgit-install.cmd "C:\Program Files (x86)\Git" (remember to use the same git installation folder as above).
  8. Test that it's working by running git flow help.
@AliBahaari
Copy link

You saved my life!
Thanks

@AMN2080
Copy link

AMN2080 commented Mar 14, 2025

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment