msysgit sh.exe参数 [英] msysgit sh.exe arguments

查看:117
本文介绍了msysgit sh.exe参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试查找有关msysgit sh.exe命令的文档.

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

例如,我知道--login标志会启动git bash会话,但我想知道其他可能性.

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

我查看了Internet,但是找不到列出所有可能参数的任何地方.

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

推荐答案

> .\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.

另请参见 GNU网站 查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆