Browse Source

Documentation: git aliases

Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
maint
Petr Baudis 19 years ago committed by Junio C Hamano
parent
commit
99b41c84a5
  1. 7
      Documentation/config.txt

7
Documentation/config.txt

@ -95,9 +95,10 @@ alias.*:: @@ -95,9 +95,10 @@ 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". To avoid
confusion, aliases that hide existing git commands are ignored.
Arguments are split at whitespaces, but single or double
quote pair can be used to quote them.
confusion and troubles with script usage, aliases that
hide existing git commands are ignored. Arguments are split by
spaces, the usual shell quoting and escaping is supported.
quote pair and a backslash can be used to quote them.

apply.whitespace::
Tells `git-apply` how to handle whitespaces, in the same way

Loading…
Cancel
Save