Skip to content

Commit 5690939

Browse files
committed
Add git alias gshn (git show --name-only)
Adds a short Git alias for `git show --name-only`, which list the files affected by the changes only (instead of the full diff).
1 parent e38696a commit 5690939

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

aliases/available/git.aliases.bash

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ alias gsl='git shortlog -sn'
152152

153153
# show
154154
alias gsh='git show'
155+
alias gshn='git show --name-only'
156+
alias gshns='git show --name-status'
155157

156158
# svn
157159
alias gsd='git svn dcommit'

0 commit comments

Comments
 (0)