We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4de3f5c commit 9d93e51Copy full SHA for 9d93e51
git-each
@@ -9,4 +9,4 @@ fi
9
10
exec find $DIRS \( -path '*/.git/config' -o \
11
-regex '.*/.git/.*/config' \) -type f -print0 \
12
- | parallel -0 --bar --delay 1 -k "git --git-dir={//} $@"
+ | parallel -0 --bar -j0 --delay 1 -k "git --git-dir={//} $@"
git-stale-branches
@@ -0,0 +1,11 @@
1
+#!/bin/bash
2
+
3
+if ! git config --get-all remote.origin.fetch | grep -q '/pr/'; then
4
+ git config --add remote.origin.fetch '+refs/pull/*:refs/remotes/origin/pr/*'
5
+fi
6
7
+git fetch --all
8
+for r in $(git branch -r --format='%(refname)'); do
+ git branch --merged $r;
+done | sort -u | grep -v '^\*' | xargs -r echo # git branch -D
0 commit comments