Clone all those gitlab repositories

If you change work environments once in a while you know that there is one thing that you are doing quite a lot of when starting off: Cloning quite a lot of repositories. Microservices, git and infrastructure as code among other things have let to a big number of repositories in almost all organizations.

As I was doing that the last time it got really tedious. Mainly because I wanted to search the whole code base and that did not work with the local gitlab instance. Naturally I turned to the shell to give this a shot and as it turns out it is a one liner (line breaks added for your convenience ;)), mostly thanks to python-gitlab and the inherent awesomeness of the shell:

[Read More]
gitlab  git  bash