From dd3f491a90df5349afcba7388ad356f0fbbf3cd5 Mon Sep 17 00:00:00 2001 From: Botond Hende Date: Sat, 20 Dec 2025 14:43:51 +0100 Subject: added aliases to gitconfig --- home/.gitconfig | 2 ++ 1 file changed, 2 insertions(+) (limited to 'home') 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"] -- cgit v1.2.3-70-g09d2