diff options
-rw-r--r-- | .gitconfig | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4,7 +4,7 @@ # View the current working tree status using the short format s = status -s # Show the diff between the latest commit and the current state - d = !"git diff-index --quiet HEAD -- || clear; git diff --patch-with-stat" + d = !"git diff-index --quiet HEAD -- || clear; git --no-pager diff --patch-with-stat" # `git di $number` shows the diff between the state `$number` revisions ago and the current state di = !"d() { git diff --patch-with-stat HEAD~$1; }; git diff-index --quiet HEAD -- || clear; d" # Pull in remote changes for the current repository and all its submodules |