Documentation: git aliases

Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Petr Baudis 2006-06-07 17:25:21 -07:00 committed by Junio C Hamano
parent 0fc8573d4b
commit 99b41c84a5

View file

@ -95,9 +95,10 @@ alias.*::
Command aliases for the gitlink:git[1] command wrapper - e.g. Command aliases for the gitlink:git[1] command wrapper - e.g.
after defining "alias.last = cat-file commit HEAD", the invocation after defining "alias.last = cat-file commit HEAD", the invocation
"git last" is equivalent to "git cat-file commit HEAD". To avoid "git last" is equivalent to "git cat-file commit HEAD". To avoid
confusion, aliases that hide existing git commands are ignored. confusion and troubles with script usage, aliases that
Arguments are split at whitespaces, but single or double hide existing git commands are ignored. Arguments are split by
quote pair can be used to quote them. spaces, the usual shell quoting and escaping is supported.
quote pair and a backslash can be used to quote them.
apply.whitespace:: apply.whitespace::
Tells `git-apply` how to handle whitespaces, in the same way Tells `git-apply` how to handle whitespaces, in the same way