script
This commit is contained in:
parent
057b83b99b
commit
ab13ef8b20
10
.local/bin/get-remotes
Executable file
10
.local/bin/get-remotes
Executable file
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user