Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gitflow error can't initialize

Tags:

git

I've got gitflow installed in my directory where my github project is.
However, when I try to start with the command "git flow init", I get the following error messages:

git flow init
C:/cygwin64/usr/local/bin/gitflow-shFlags: line 1: shFlags/src/shflags: No such file or directory
C:\cygwin64\usr\local\bin\git-flow: line 85: DEFINE_boolean: command not found
C:\cygwin64\usr\local\bin\git-flow: line 88: FLAGS: command not found
fatal: 'flow' appears to be a git command, but we were not
able to execute it. Maybe git-flow is broken?

Any ideas of what I should do to fix this?

like image 918
David Farthing Avatar asked Dec 31 '14 15:12

David Farthing


1 Answers

The issue 190 reports a similar problem, and suggests to restore the shFlags/src/shflags file yourself, using src/shflags.

That file needs to be restored in order for the git-flow call to gitflow-shFlags to succeed:

. "$GITFLOW_DIR/gitflow-shFlags"

With gitflow-shFlags:

shFlags/src/shflags
like image 194
VonC Avatar answered Sep 29 '22 10:09

VonC