From 4425af285cabc2620a73d980300f79c0455de843 Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Tue, 18 May 2021 19:03:24 +0100 Subject: [PATCH] git-repl: add page (#5974) --- pages/common/git-repl.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 pages/common/git-repl.md diff --git a/pages/common/git-repl.md b/pages/common/git-repl.md new file mode 100644 index 0000000000..1505cfc01e --- /dev/null +++ b/pages/common/git-repl.md @@ -0,0 +1,21 @@ +# git repl + +> Git REPL (read-evaluate-print-loop) - an interactive Git shell. +> Part of `git-extras`. +> More information: . + +- 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`