From 29296180e5706ed1a1ffe9291ac778a62e2cb34b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Mon, 25 Nov 2024 23:31:19 +0100 Subject: [PATCH] Add .gitconfig --- .gitconfig | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .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