I particularly have a bunch of projects I follow/cloned from git, such as linux-kernel, kexec-tools, and so on. What happens is that I like to be tuned with those projects and their code. Once, twice or many times in a week I get into their git directory and give a pull to grab the freshest code. As I said before, I have a lot of projects I like to follow, digging in code, try to find bugs just for learn, fun and of course collaborate. It’s painful to type a git in all them one by one. So, why not to give a git pull in all them. Yep. That is why I just typed this Python code. A very simple, as Python always do, to exec a git pull in all my git repositories in my specific folder : Study or Collaborate, and so on.
Now I’m sharing it with you, and of course it’s already in my github that you can grab/see here.
How to run this?
$python pygitpull.py YOUR_GITS_DIR
Wait for it drinking a huge cup of coffee and get the new code.