dotfiles/.local/bin/get-remotes
2023-08-14 03:57:10 -06:00

11 lines
161 B
Bash
Executable File

#!/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