aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2024-02-05 14:12:18 +0800
committerGuangxiong Lin <[email protected]>2024-02-05 14:12:18 +0800
commit2c690979c46d065c1cc39fd32e747f4f36f6a774 (patch)
tree3a3c96db419870470862cc9eb3e2c2d31b1a4db7
parent3bd720d12346426786cc77d7b47f35a499c04669 (diff)
downloaddotfiles-2c690979c46d065c1cc39fd32e747f4f36f6a774.tar.gz
dotfiles-2c690979c46d065c1cc39fd32e747f4f36f6a774.tar.bz2
dotfiles-2c690979c46d065c1cc39fd32e747f4f36f6a774.zip
Add git diff alias
-rw-r--r--.gitconfig7
1 files changed, 5 insertions, 2 deletions
diff --git a/.gitconfig b/.gitconfig
index 8090131..5a78ead 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -26,11 +26,14 @@
co = checkout
st = status
stsb = status --short --branch
- df = diff
- dfc = diff --cached
dt = difftool
mt = mergetool
+ # diff
+ df = diff
+ dfc = diff --cached
+ dfm = diff --merge-base
+
who = blame
untrack = rm --cached