Add .gitconfig

This commit is contained in:
Mario Hüttel 2024-11-25 23:31:19 +01:00
commit 29296180e5

5
.gitconfig Normal file
View File

@ -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