diff --git a/Commands.md b/Commands.md index 25ef3947b..7390dfaca 100644 --- a/Commands.md +++ b/Commands.md @@ -229,12 +229,21 @@ $ git effort bin/* lib/* ## git repl -GIT read-eval-print-loop: +Git read-eval-print-loop. Let's you run `git` commands without typing 'git'. + +Commands can be prefixed with an exclamation mark (!) to be interpreted as +a regular command. + +Type `exit` or `quit` to end the repl session. ```bash $ git repl +git version 2.9.2 +git-extras version 3.0.0 +type 'ls' to ls files below current directory, +'!command' to execute any command or just 'subcommand' to execute any git subcommand -git> ls-files +git (master)> ls-files History.md Makefile Readme.md @@ -245,10 +254,11 @@ bin/git-delete-tag bin/git-ignore bin/git-release -git> quit -``` +git (master)> !echo Straight from the shell! +Straight from the shell! -You can use `exit` instead of `quit`. +git (master)> quit +``` ## git commits-since diff --git a/man/git-repl.1 b/man/git-repl.1 index 00ad1e767..497e69803 100644 --- a/man/git-repl.1 +++ b/man/git-repl.1 @@ -1,7 +1,7 @@ .\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . -.TH "GIT\-REPL" "1" "August 2016" "" "" +.TH "GIT\-REPL" "1" "August 2016" "" "Git Extras" . .SH "NAME" \fBgit\-repl\fR \- git read\-eval\-print\-loop @@ -10,17 +10,49 @@ \fBgit\-repl\fR . .SH "DESCRIPTION" +Git read\-eval\-print\-loop\. Let\'s you run \fBgit\fR commands without typing \'git\'\. . -.SH "OPTIONS" -GIT read\-eval\-print\-loop: +.P +Commands can be prefixed with an exclamation mark (!) to be interpreted as a regular command\. +. +.P +Type \fBexit\fR or \fBquit\fR to end the repl session\. +. +.SH "COMMANDS" + . -.IP "" 4 +.P +Interpreted as \fBgit \fR\. +. +.P +! +. +.P +Interpreted as \fB\fR (not through \fBgit\fR)\. +. +.P +ls +. +.P +Equivalent of \'git ls\-files\'\. +. +.P +exit|quit +. +.P +Ends the repl session\. +. +.SH "EXAMPLES" . .nf $ git repl +git version 2\.9\.2 +git\-extras version 3\.0\.0 +type \'ls\' to ls files below current directory, +\'!command\' to execute any command or just \'subcommand\' to execute any git subcommand -git> ls\-files +git (master)> ls\-files History\.md Makefile Readme\.md @@ -31,17 +63,13 @@ bin/git\-delete\-tag bin/git\-ignore bin/git\-release -git> quit +git (master)> !echo Straight from the shell! +Straight from the shell! + +git (master)> quit . .fi . -.IP "" 0 -. -.P -You can use \fBexit\fR instead of \fBquit\fR\. -. -.SH "EXAMPLES" -. .SH "AUTHOR" Written by Tj Holowaychuk <\fItj@vision\-media\.ca\fR> . diff --git a/man/git-repl.html b/man/git-repl.html index b01d76eaa..c6e4de0fe 100644 --- a/man/git-repl.html +++ b/man/git-repl.html @@ -56,7 +56,7 @@ NAME SYNOPSIS DESCRIPTION - OPTIONS + COMMANDS EXAMPLES AUTHOR REPORTING BUGS @@ -65,7 +65,7 @@
  1. git-repl(1)
  2. -
  3. +
  4. Git Extras
  5. git-repl(1)
@@ -80,13 +80,40 @@

SYNOPSIS

DESCRIPTION

-

OPTIONS

+

Git read-eval-print-loop. Let's you run git commands without typing 'git'.

-

GIT read-eval-print-loop:

+

Commands can be prefixed with an exclamation mark (!) to be interpreted as + a regular command.

+ +

Type exit or quit to end the repl session.

+ +

COMMANDS

+ +

<command>

+ +

Interpreted as git <command>.

+ +

!<command>

+ +

Interpreted as <command> (not through git).

+ +

ls

+ +

Equivalent of 'git ls-files'.

+ +

exit|quit

+ +

Ends the repl session.

+ +

EXAMPLES

$ git repl
+git version 2.9.2
+git-extras version 3.0.0
+type 'ls' to ls files below current directory,
+'!command' to execute any command or just 'subcommand' to execute any git subcommand
 
-git> ls-files
+git (master)> ls-files
 History.md
 Makefile
 Readme.md
@@ -97,16 +124,15 @@ 

OPTIONS

bin/git-ignore bin/git-release -git> quit -
- -

You can use exit instead of quit.

+git (master)> !echo Straight from the shell! +Straight from the shell! -

EXAMPLES

+git (master)> quit +

AUTHOR

-

Written by Tj Holowaychuk <tj@vision-media.ca>

+

Written by Tj Holowaychuk <tj@vision-media.ca>

REPORTING BUGS

diff --git a/man/git-repl.md b/man/git-repl.md index 3eb91df22..cfbfeb0cf 100644 --- a/man/git-repl.md +++ b/man/git-repl.md @@ -7,13 +7,41 @@ git-repl(1) -- git read-eval-print-loop ## DESCRIPTION -## OPTIONS + Git read-eval-print-loop. Let's you run `git` commands without typing 'git'. - GIT read-eval-print-loop: + Commands can be prefixed with an exclamation mark (!) to be interpreted as + a regular command. + + Type `exit` or `quit` to end the repl session. + +## COMMANDS + + <command> + + Interpreted as `git `. + + !<command> + + Interpreted as `` (not through `git`). + + ls + + Equivalent of 'git ls-files'. + + exit|quit + + Ends the repl session. + + +## EXAMPLES $ git repl - - git> ls-files + git version 2.9.2 + git-extras version 3.0.0 + type 'ls' to ls files below current directory, + '!command' to execute any command or just 'subcommand' to execute any git subcommand + + git (master)> ls-files History.md Makefile Readme.md @@ -23,12 +51,11 @@ git-repl(1) -- git read-eval-print-loop bin/git-delete-tag bin/git-ignore bin/git-release - - git> quit - You can use `exit` instead of `quit`. + git (master)> !echo Straight from the shell! + Straight from the shell! -## EXAMPLES + git (master)> quit ## AUTHOR