{"thread":{"id":"4422","subject":"[PATCH] Document git aliases support","startedAt":"2006-06-07T18:43:54Z","lastAt":"2006-06-07T18:43:54Z","messageCount":1,"participants":["Petr Baudis"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"21391","messageId":"20060607184354.31372.41170.stgit@machine.or.cz","threadId":"4422","inReplyTo":null,"subject":"[PATCH] Document git aliases support","fromName":"Petr Baudis","fromEmail":"pasky@suse.cz","sentAt":"2006-06-07T18:43:54Z","receivedAt":"2006-06-07T18:43:54Z","isPatch":true,"sender":{"key":"pasky@ucw.cz","avatar":"https://avatars.githubusercontent.com/u/18439?v=4"},"body":"This patch ports and modifies appropriately the git aliases documentation\nfrom my patch, shall it rest in peace.\n\nSigned-off-by: Petr Baudis <pasky@suse.cz>\n---\n\n Documentation/config.txt |    7 +++++++\n Documentation/git.txt    |    3 +++\n 2 files changed, 10 insertions(+), 0 deletions(-)\n\ndiff --git a/Documentation/config.txt b/Documentation/config.txt\nindex c861c6c..ad9ec3e 100644\n--- a/Documentation/config.txt\n+++ b/Documentation/config.txt\n@@ -91,6 +91,13 @@ core.warnAmbiguousRefs::\n \tIf true, git will warn you if the ref name you passed it is ambiguous\n \tand might match multiple refs in the .git/refs/ tree. True by default.\n \n+alias.*::\n+\tCommand aliases for the gitlink:git[1] command wrapper - e.g.\n+\tafter defining \"alias.last = cat-file commit HEAD\", the invocation\n+\t\"git last\" is equivalent to \"git cat-file commit HEAD\". You cannot\n+\toverride even existing command names with aliases. Arguments are\n+\tsplit by spaces, the usual shell quoting and escaping is supported.\n+\n apply.whitespace::\n \tTells `git-apply` how to handle whitespaces, in the same way\n \tas the '--whitespace' option. See gitlink:git-apply[1].\ndiff --git a/Documentation/git.txt b/Documentation/git.txt\nindex 24ca55d..e474bdf 100644\n--- a/Documentation/git.txt\n+++ b/Documentation/git.txt\n@@ -21,6 +21,9 @@ link:everyday.html[Everyday Git] for a u\n \"man git-commandname\" for documentation of each command.  CVS users may\n also want to read link:cvs-migration.html[CVS migration].\n \n+The COMMAND is either a name of a Git command (see below) or an alias\n+as defined in the configuration file (see gitlink:git-repo-config[1]).\n+\n OPTIONS\n -------\n --version::\n"}]}