gitflow
gitflow copied to clipboard
Windows install issue
I have followed the instructions here https://github.com/nvie/gitflow/wiki/Windows for Cygwin. I made sure the git, util-linux and wget are all installed, I also ran the "$'\r': command not found" code but when I run git flow init i get the following error
/usr/local/bin/gitflow-shFlags: line 1: shFlags/src/shflags: No such file or directory /usr/local/bin/git-flow: line 85: DEFINE_boolean: command not found /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?
When you do a clone, be sure to include the --recursiv option otherwise the shflags submodule will not be pulled.
I installed Cygwin with the packages needed.
Using Cygwin I ran the command: $ wget -q -O - --no-check-certificate https://github.com/nvie/gitflow/raw/develop/contrib/gitflow-installer.sh | bash
I then cd into /cygdrive/c/Users/Pierce/Desktop/mai After running git flow init I get these lines /usr/local/bin/gitflow-shFlags: line 1: shFlags/src/shflags: No such file or directory /usr/local/bin/git-flow: line 85: DEFINE_boolean: command not found /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?
I then change content in the gitflow-shFlags file from "shFlags/src/shflags" to "gitflow-shFlags". I then tried to run the git flow init again and this time it gets hung up and dies unexpectedly
Not sure about that one. Check out this fork of GitFlow. It is more up to date and is under current development. I have made the switch and wouldn't go back.
https://github.com/petervanderdoes/gitflow
These steps finally worked for me.
$ wget -q -O - --no-check-certificate https://github.com/nvie/gitflow/raw/develop/contrib/gitflow-installer.sh | bash
$ cd gitflow
$ git submodule init
$ git submodule update
$ cp shFlags/src/shflags to /usr/local/bin/gitflow-shFlags
@Hamdiakoguz Thanks, that worked perfectly for me
@Hamdiakoguz Thanks.
@Hamdiakoguz Thanks
Does not work for me. I'm starting to think it has something to do with the latest windows updates? It started for me when I installed KB4074595 and KB4023057.
- I also tried installed an older version of git, did not make a difference.
- cp shFlags/src/shflags to /usr/local/bin/gitflow-shFlags gives the same message for me: no such file or directory.
- Tried overwriting the file via windows explorer (from C:\tools\cygwin\usr\local\bin to C:\Program Files\Git\usr\bin) and then did a full system reboot: did not work
The problem remains.