Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown switch fails execution on git bash (windows) #22

Open
ayushoriginal opened this issue Sep 5, 2016 · 5 comments
Open

Unknown switch fails execution on git bash (windows) #22

ayushoriginal opened this issue Sep 5, 2016 · 5 comments

Comments

@ayushoriginal
Copy link

ayushoriginal commented Sep 5, 2016

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

@TilakMaddy
Copy link

TilakMaddy commented Oct 28, 2016

@ayushoriginal I too am getting the same error !

@TilakMaddy
Copy link

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

@spjoshis
Copy link

spjoshis commented Mar 2, 2017

I am also getting this error

@2efPer
Copy link

2efPer commented May 4, 2017

not working anymore :(

@erstens
Copy link

erstens commented Aug 25, 2017

1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants