Listing all clone URLs for a given project
This is easy using the REST API:
$ curl -s http://git.example.com/rest/api/1.0/projects/BATCH/repos | \
sed 's#[,]#,\n#g' | \
sed -n 's#[ ]*["]cloneUrl["].*["]\([^"]*\)"[,].*#\1#p'
This is easy using the REST API:
$ curl -s http://git.example.com/rest/api/1.0/projects/BATCH/repos | \
sed 's#[,]#,\n#g' | \
sed -n 's#[ ]*["]cloneUrl["].*["]\([^"]*\)"[,].*#\1#p'