Skip to content

Instantly share code, notes, and snippets.

@abhisekp
Last active June 15, 2023 12:14
Show Gist options
  • Save abhisekp/8f890be7f2b7bfb69603 to your computer and use it in GitHub Desktop.
Save abhisekp/8f890be7f2b7bfb69603 to your computer and use it in GitHub Desktop.
How to install hubflow in Windows?

How to install hubflow in Windows?

— by Abhisek Pattnaik <abhisekp@engineer.com>

Clone latest hubflow

git clone https://github.com/datasift/gitflow hubflow
cd hubflow

Copy all git-hf prefixed files to bin directory in git installation directory

cp git-hf* <git-install-dir>/bin/
cp hubflow-common <git-install-dir>/bin/

Update latest shflags submodule

git submodule update --remote --init --checkout
cp shFlags/src/shflags <git-install-dir>/bin/hubflow-shFlags

Test hubflow

git hf help

NOTE: Neither Hubflow or Gitflow workflow support fork and PR workflow for Open Source projects. You'll have to manually do that. Just follow the nvie's gitflow workflow as a bird's eye view reference.

@jishnunand
Copy link

I tried the same didn't work form me.

@rcaner
Copy link

rcaner commented Oct 20, 2020

Add PATH to Github folder. (C:/Program\ Files/Git/bin/)
It can easily integrated thank you for packages I used in Windows and Ubuntu.

@jishnunand
Copy link

It's resolved by keeping all files to C:/Program\ Files/Git/usr/bin/

@boehs
Copy link

boehs commented Mar 16, 2021

thanks to @halfbaked 's revision: https://gist.github.com/halfbaked/ec7cd2d40458a7f33961d648edefb001 it works. your install directory is actually C:\Program Files\Git\mingw64\bin

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