summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorBotond Hende <nettingman@gmail.com>2025-12-20 14:43:51 +0100
committerBotond Hende <nettingman@gmail.com>2025-12-20 14:43:51 +0100
commitdd3f491a90df5349afcba7388ad356f0fbbf3cd5 (patch)
tree99b88cb0cf8af3454a4b771c2e8ea3a80f41119a /home
parent951707621710a829fcdd83ab376c61344377f1dd (diff)
added aliases to gitconfigHEADmaster
Diffstat (limited to 'home')
-rw-r--r--home/.gitconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/home/.gitconfig b/home/.gitconfig
index 6f4ba13..8d17ed7 100644
--- a/home/.gitconfig
+++ b/home/.gitconfig
@@ -10,7 +10,9 @@
a = add -Av
st = status
diffc = diff --cached
+ diff-last = diff HEAD~1 HEAD
squash-all = "!f(){ git reset $(git commit-tree HEAD^{tree} -m \"${1:-A new start}\");};f"
+ rebase-last = rebase -i HEAD~5
[push]
autoSetupRemote = true
[filter "lfs"]