Created
August 9, 2018 19:48
-
-
Save tabrindle/9bf7bd5f57f9f94081914162879515ad to your computer and use it in GitHub Desktop.
print insertions and deletions after git status
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git() { | |
if [[ "$1" = "status" ]]; then | |
command git status; | |
command git --no-pager diff --shortstat HEAD | |
else | |
command git "$@" | |
fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On branch feature/SLUI-2608-refactor-events-source
Changes to be committed:
(use "git reset HEAD ..." to unstage)
19 files changed, 388 insertions(+), 890 deletions(-)