git - msysgit sh.exe 参数

标签 git batch-file sh msysgit

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

例如,我知道启动 git bash session 的 --login 标志,但我想知道其他可能性。

我浏览了互联网,但找不到列出所有可能参数的任何地方。

最佳答案

> .\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 website , 和 bash’s manual .

关于git - msysgit sh.exe 参数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13229642/

相关文章:

git - 如何获取 "cleansed"Git 存储库?

git - 如何将两个非顺序的 git 提交 merge 为一个?

git - 忘记提交代码的分支名称

windows - 使用模式匹配删除当前目录中的所有文件夹

windows - 需要一个批处理命令来自动创建卡拉 OK

node.js - 如何使用 Shell 脚本重新启动 docker 服务

java - 如何将上下箭 header value 传递给从 Java 调用的 bash 终端进程

git - 如何在 xampp htdocs 中使用 Github

Linux 中的 Java 命令类路径和 PHP

bash - 当我们将命令放在美元符号和括号 : $(command) 中时,它在 shell 中意味着什么