Apparently my google-fu sucks...
I know these from other StackExchange posts:
--cd-to-home # Change directory to home
--cd=<path> # Change directory to <path>
-i # ?
-c # Run command, but --command doesn't work/exist
Where can I find a complete list of options for git-bash.exe (the therminal emulator)? I found them for mintty [1], but they don't seem to be the correct ones for git-bash.exe...
Update:
So git-bash.exe
just seems to be a simple wrapper that first parses the --cd...
options and then runs
usr\bin\mintty.exe --icon git-bash.exe,0 --exec "/usr/bin/bash" --login -i <other arguments>
or similar. That's why only --cd..
and bash options are parsed correctly and not mintty.
If you want to use other options from mintty, you should use a similar command instead of trying to do it with git-bash.exe. E.g.:
usr\bin\mintty.exe --icon git-bash.exe,0 --window full --exec "/usr/bin/bash" --login -i -c "echo 'Hello World!'; read"
help
? If it works like git under linux from command-line you can askgit --help -a
to have the full list of commands.ls
orgit
(based on msys). I know how to get the options for those commands, I'm looking for the options for the terminal emulator. I have also triedgit-bash.exe --help
andgit-bash.exe /?
, both don't show anything.