greenhat icon indicating copy to clipboard operation
greenhat copied to clipboard

Unknown switch fails execution on git bash (windows)

Open ayushoriginal opened this issue 8 years ago • 5 comments

When I run greenhat on windows (git bash), the release fails due to an unknown switch being passed to git add.

OUTPUT LOG $ python greenhat.py 5 error: unknown switchm' usage: git rm [options] [--] ...

-n, --dry-run         dry run
-q, --quiet           do not list removed files
--cached              only remove from the index
-f, --force           override the up-to-date check
-r                    allow recursive removal
--ignore-unmatch      exit with a zero status even if nothing matched`

After a short skimp through the source, I thought that multiple git commands were being executed at the same time because the ';' separator does not work in windows cmd. (Although I know that it does work in 'git bash'). Could anyone clarify the problem? Can we separate out the commands in the original source such that they also run in windows? If not, then can anyone send a Pull Request for a windows version of GreenHat at https://github.com/ayushoriginal/greenhat

ayushoriginal avatar Sep 05 '16 16:09 ayushoriginal

@ayushoriginal I too am getting the same error !

TilakMaddy avatar Oct 28 '16 17:10 TilakMaddy

@ayushoriginal you already seem to have your calendar filled up bro !

TilakMaddy avatar Oct 28 '16 17:10 TilakMaddy

I am also getting this error

spjoshis avatar Mar 02 '17 05:03 spjoshis

not working anymore :(

2efPer avatar May 04 '17 02:05 2efPer

1

erstens avatar Aug 25 '17 08:08 erstens