Skip to content

Commit

Permalink
Documentation: update description of shell aliases
Browse files Browse the repository at this point in the history
Aliases that invoke shell commands start from the top-level directory,
but this was not documented.

Signed-off-by: Sitaram Chamarty <sitaramc@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Sitaram Chamarty authored and Junio C Hamano committed Jul 8, 2009
1 parent 653a31c commit 595b8db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Documentation/config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,9 @@ If the alias expansion is prefixed with an exclamation point,
it will be treated as a shell command. For example, defining
"alias.new = !gitk --all --not ORIG_HEAD", the invocation
"git new" is equivalent to running the shell command
"gitk --all --not ORIG_HEAD".
"gitk --all --not ORIG_HEAD". Note that shell commands will be
executed from the top-level directory of a repository, which may
not necessarily be the current directory.

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

0 comments on commit 595b8db

Please sign in to comment.