Cloning all your Github repos at once

Thursday, Nov 19, 2015| Tags: tools

If you are moving to a new machine you’ll probably need to spend some time cloning all your Github repositories. Thankfully there’s an awesome command you can run on the terminal to get them all at once.

curl -s\_page=200 | ruby -rubygems -e ‘require “json”; JSON.load( { |repo| %x\[git clone #{repo\[“ssh\_url”\]} \]}’

Just remember to replace USER with your Github username.

Want to learn more Android and Flutter? Check my courses here.


Contact with me