Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/stefan-niedermann/nextcloud-deck.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--clearLocalBranches.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/clearLocalBranches.sh b/clearLocalBranches.sh
new file mode 100644
index 000000000..4126fc8dc
--- /dev/null
+++ b/clearLocalBranches.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+git checkout master
+LANG=en_US
+git branch -vv | grep ': gone]'| grep -v "\*" | awk '{ print $1; }' | xargs -r git branch -d \ No newline at end of file