angusshire / greenhat

:construction_worker: Quick hack for making real work happen.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unknown switch fails execution on git bash (windows)

ayushoriginal opened this issue · 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 I too am getting the same error !

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

I am also getting this error

not working anymore :(

1