diff options
Diffstat (limited to '.gitconfig')
-rw-r--r-- | .gitconfig | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -13,3 +13,11 @@ [user] email = listout@protonmail.com name = listout +[alias] + # list files which have changed since REVIEW_BASE + # (REVIEW_BASE defaults to 'master' in my zshrc) + files = !git diff --name-only $(git merge-base HEAD \"$REVIEW_BASE\") + + # Same as above, but with a diff stat instead of just names + # (better for interactive use) + stat = !git diff --stat $(git merge-base HEAD \"$REVIEW_BASE\") |