Document git aliases support
PATCH 1/1 Document git aliases support
This patch ports and modifies appropriately the git aliases documentation from my patch, shall it rest in peace.
Signed-off-by Petr Baudis <[email protected]>
---
Documentation/config.txt | 7 +++++++ Documentation/git.txt | 3 +++ 2 files changed, 10 insertions(+), 0 deletions(-)
Documentation/config.txt +7 -0
@@ -91,6 +91,13 @@ core.warnAmbiguousRefs:: If true, git will warn you if the ref name you passed it is ambiguous and might match multiple refs in the .git/refs/ tree. True by default. +alias.*:: + Command aliases for the gitlink:git[1] command wrapper - e.g. + after defining "alias.last = cat-file commit HEAD", the invocation + "git last" is equivalent to "git cat-file commit HEAD". You cannot + override even existing command names with aliases. Arguments are + split by spaces, the usual shell quoting and escaping is supported. + apply.whitespace:: Tells `git-apply` how to handle whitespaces, in the same way as the '--whitespace' option. See gitlink:git-apply[1].
Documentation/git.txt +3 -0
@@ -21,6 +21,9 @@ link:everyday.html[Everyday Git] for a u "man git-commandname" for documentation of each command. CVS users may also want to read link:cvs-migration.html[CVS migration]. +The COMMAND is either a name of a Git command (see below) or an alias +as defined in the configuration file (see gitlink:git-repo-config[1]). + OPTIONS ------- --version::