commit 29296180e5706ed1a1ffe9291ac778a62e2cb34b Author: Mario Hüttel Date: Mon Nov 25 23:31:19 2024 +0100 Add .gitconfig diff --git a/.gitconfig b/.gitconfig new file mode 100644 index 0000000..7e720f5 --- /dev/null +++ b/.gitconfig @@ -0,0 +1,5 @@ +[alias] + lg = log --oneline --decorate --date=relative --graph + remove-gone-branches = "!git branch -vv | sed 's/^\\*//' | grep ': gone]' | awk '{print $1}' | (xargs git branch --delete 2>/dev/null || echo 'No branches to delete')" + root = rev-parse --show-toplevel + word-diff = diff --word-diff