MeltwaterArchive / gitflow

HubFlow: A Git extension to make it easy to use GitFlow with GitHub. Based on the original gitflow extension for git.
http://datasift.github.io/gitflow/
Other
290 stars 96 forks source link

How to install hubflow in Windows? #89

Open abhisekp opened 9 years ago

abhisekp commented 9 years ago

How to install hubflow in Windows?

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/

Initialize and 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 for reference.
stuartherbert commented 9 years ago

Hubflow is currently written as UNIX shell scripts. If you install Cygwin, that might allow Hubflow to work on Windows for now.

abhisekp commented 9 years ago

@stuartherbert This issue is simply like an instructional wiki about installing hubflow in Windows. I use git bash on Windows and this technique just works seamlessly without cygwin. :smile:

abhisekp commented 9 years ago

@stuartherbert Can I use both git-extras and hubflow?

stuartherbert commented 9 years ago

I’m not familiar with git-extras. Hubflow doesn’t do anything weird, so it should play nicely with other extensions. If you run into any issues, please open a new issue here on GitHub and I’ll take a look.

On 9 Oct 2015, at 11:48, Abhisek Pattnaik notifications@github.com wrote:

@stuartherbert https://github.com/stuartherbert Can I use both git-extras and hub?

— Reply to this email directly or view it on GitHub https://github.com/datasift/gitflow/issues/89#issuecomment-146831875.

DarinMacRae commented 8 years ago

You might be interested in this.

https://github.com/DarinMacRae/gitflow/commit/f086d9a27c7438f03f0a06e2a710b1ada2bf8486

XaserAcheron commented 6 years ago

Just as a heads-up, HubFlow does seem to work fine on Windows after following the install steps in the OP. I'm not exactly a power user (just inherited a project that already used it), but I haven't run into any OS-specific shenanigans.

Just did an update earlier and wish I'd have seen DarinMacRae's post though; I haven't tried that install script yet but perhaps that will do the trick.