Files
tldr/pages.zh/common/git-repl.md

21 lines
511 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# git repl
> Git REPL读取-评估-打印循环)- 交互式 Git Shell。
> 作为 `git-extras` 的一部分。
> 更多信息:<https://github.com/tj/git-extras/blob/master/Commands.md#git-repl>。
- 启动一个交互式 Git Shell
`git repl`
- 在交互式 Git Shell 中运行 Git 命令:
`{{git_subcommand}} {{command_arguments}}`
- 在交互式 Git Shell 中运行外部(非 Git命令
`!{{command}} {{command_arguments}}`
- 退出交互式 Git Shell或按 Ctrl + D
`exit`