11 lines
161 B
Plaintext
11 lines
161 B
Plaintext
|
#!/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
|
||
|
|