forked from tj/git-extras
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
16d1445
commit 5ca9360
Showing
5 changed files
with
87 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,14 +5,20 @@ git-repl(1) -- git read-eval-print-loop | |
|
||
`git-repl` | ||
|
||
`git-repl` [command...] | ||
|
||
## DESCRIPTION | ||
|
||
Git read-eval-print-loop. Lets you run `git` commands without typing 'git'. | ||
|
||
Commands can be prefixed with an exclamation mark (!) to be interpreted as | ||
a regular command. | ||
a regular shell command. | ||
|
||
Any arguments to git repl will be taken collectively as the first command | ||
to execute in the repl. | ||
|
||
Type `exit` or `quit` to end the repl session. | ||
Type `exit`, `quit`, or `q` to end the repl session. Ctrl-D and Ctrl-C | ||
will also work. | ||
|
||
## COMMANDS | ||
|
||
|
@@ -28,18 +34,17 @@ git-repl(1) -- git read-eval-print-loop | |
|
||
Equivalent of 'git ls-files'. | ||
|
||
exit|quit | ||
exit\|quit\|q | ||
|
||
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 version 2.34.1 | ||
git-extras version 7.3.0 | ||
Type 'ls' to ls files below current directory; '!command' to execute any command or just 'subcommand' to execute any git subcommand; 'quit', 'exit', 'q', ^D, or ^C to exit the git repl. | ||
|
||
git (master)> ls-files | ||
History.md | ||
|
@@ -59,7 +64,7 @@ git-repl(1) -- git read-eval-print-loop | |
|
||
## AUTHOR | ||
|
||
Written by Tj Holowaychuk <<[email protected]>> | ||
Written by Tj Holowaychuk <<[email protected]>>. Updated by Wyatt S Carpenter to add display of the previous command's exit status, 'q', and the ability to pass in the initial command as arguments. | ||
|
||
## REPORTING BUGS | ||
|
||
|