1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-06 12:26:03 +02:00

git-repl: add page (#5974)

This commit is contained in:
CleanMachine1 2021-05-18 19:03:24 +01:00 committed by GitHub
parent dccb963036
commit 4425af285c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

21
pages/common/git-repl.md Normal file
View file

@ -0,0 +1,21 @@
# git repl
> Git REPL (read-evaluate-print-loop) - an interactive Git shell.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-repl>.
- Start an interactive Git shell:
`git repl`
- Run a Git command while in the interactive Git shell:
`{{git_subcommand}} {{command_arguments}}`
- Run an external (non-Git) command while in the interactive Git shell:
`!{{command}} {{command_arguments}}`
- Exit the interactive Git shell (or press Ctrl + D):
`exit`