Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

msysgit sh.exe arguments

I am trying to find some documentation about msysgit sh.exe command.

For instance I am aware of the --login flag to launch a git bash session but I would to know the other possibilities.

I have looked over the internet but can not find any place where is listed all the possibles arguments.

like image 283
Kevin MOLCARD Avatar asked Nov 05 '12 09:11

Kevin MOLCARD


1 Answers

> .\sh.exe --help
GNU bash, version 3.1.0(1)-release-(i686-pc-msys)
Usage:  ".../Git/bin/sh.exe" [GNU long option] [option] ...
        ".../Git/bin/sh.exe" [GNU long option] [option] script-file ...
GNU long options:
        --debug
        --debugger
        --dump-po-strings
        --dump-strings
        --help
        --init-file
        --login
        --noediting
        --noprofile
        --norc
        --posix
        --protected
        --rcfile
        --restricted
        --verbose
        --version
        --wordexp
Shell options:
        -irsD or -c command or -O shopt_option          (invocation only)
        -abefhkmnptuvxBCHP or -o option
Type `".../Git/bin/sh.exe" -c "help set"' for more information about shell options.
Type `".../Git/bin/sh.exe" -c help' for more information about shell builtin commands.
Use the `bashbug' command to report bugs.

See also the GNU website, and bash’s manual.

like image 118
poke Avatar answered Sep 19 '22 17:09

poke