From 8054a2f6a4f5386197f94a44b18bee76d5ec38ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Fri, 14 Feb 2025 00:22:40 +0100 Subject: [PATCH] gitconfig: added new command `delete-branch` --- .gitconfig.local | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitconfig.local b/.gitconfig.local index 2adac8c..06a3146 100644 --- a/.gitconfig.local +++ b/.gitconfig.local @@ -32,6 +32,7 @@ c = commit --author='Marcin Woźniak -s' cw = commit --author='Marcin Woźniak -s' retag = "!f() { if [ -z \"$1\" ]; then echo \"No version provided. Skipping git push.\"; else git tag --delete $1 2>/dev/null; git tag -a $1 -m \"Version $1\"; git push --tags -f; git push -f; fi; }; f" + delete-branch = "!$HOME/.local/bin/git-delete-branch" [url "git@github.com:"] insteadOf = "https://github.com/"