From e612342ccc5ea06b5f2b4c81d0b035cd0d5fa6e4 Mon Sep 17 00:00:00 2001 From: dimti Date: Mon, 4 Jul 2022 15:50:49 +0300 Subject: [PATCH] + prune-branches git alias --- .gitconfig | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .gitconfig diff --git a/.gitconfig b/.gitconfig new file mode 100644 index 0000000..e5ccc14 --- /dev/null +++ b/.gitconfig @@ -0,0 +1,6 @@ +[user] + email = info@wpstudio.ru + name = WP Studio +[alias] + prune-branches-dry = !git remote prune origin && git branch -vv | grep ': исчез]' | awk '{print $1}' + prune-branches = !git remote prune origin && git branch -vv | grep ': исчез]' | awk '{print $1}' | xargs -r git branch -d