diff --git a/.local/bin/get-remotes b/.local/bin/get-remotes new file mode 100755 index 0000000..1218aaf --- /dev/null +++ b/.local/bin/get-remotes @@ -0,0 +1,10 @@ +#!/bin/bash + +get-remote() { + cd $1 2>/dev/null && git remote -v 2>/dev/null | grep fetch | awk '{print $2}' +} + +for folder in $1/*; do + get-remote $folder +done +