Anonymous committed 595b8db

Documentation: update description of shell aliases

Aliases that invoke shell commands start from the top-level directory,
but this was not documented.

Signed-off-by: Sitaram Chamarty <>
Signed-off-by: Junio C Hamano <>

Comments (0)

Files changed (1)


 it will be treated as a shell command.  For example, defining
 " = !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.
 	Tells 'git-apply' how to handle whitespaces, in the same way