about summary refs log tree commit diff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/git/config3
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/git/config b/.config/git/config
index ca24191..f4113d9 100644
--- a/.config/git/config
+++ b/.config/git/config
@@ -13,6 +13,9 @@
 [rebase]
 	autosquash = true
 [alias]
+; improve clean command output at some point
+; probably also needs to checkout main or develop first
+	clean = !git remote prune origin && git branch | xargs git branch -d
 	force = push --force-with-lease
 	oops = commit --all --amend --no-edit
 	stashpull = !git stash && git pull && git stash pop