11 lines
161 B
Bash
Executable File
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
|
|
|