7 lines
180 B
Bash
7 lines
180 B
Bash
|
list_repos() {
|
||
|
find "$REPO_BASE_DIR" -type d -name ".git" | while read -r git_dir; do
|
||
|
parent_dir=$(dirname "$git_dir")
|
||
|
echo "${parent_dir##*/}" | sed 's/\./_/g'
|
||
|
done
|
||
|
}
|