Skip to content

Commit 26192be

Browse files
committed
Merge branch 'maint'
* maint: Documentation: update description of shell aliases
2 parents f581de1 + 49902bd commit 26192be

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Documentation/config.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,9 @@ If the alias expansion is prefixed with an exclamation point,
456456
it will be treated as a shell command. For example, defining
457457
"alias.new = !gitk --all --not ORIG_HEAD", the invocation
458458
"git new" is equivalent to running the shell command
459-
"gitk --all --not ORIG_HEAD".
459+
"gitk --all --not ORIG_HEAD". Note that shell commands will be
460+
executed from the top-level directory of a repository, which may
461+
not necessarily be the current directory.
460462

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

0 commit comments

Comments
 (0)