Automate Updating Your Git Repositories

I have a half dozen TextMate bundles that I am grabbing the latest versions from GitHub instead of from the main TextMate subversion repository. For a long time I have been updating each of the bundles’ Git repositories by cd’ing into each directory and running git pull. Doing this over and over became silly and I was annoyed from doing all that typing.

Today, I finally wrote a basic bash script that automates updating each of the repositories. Sometimes it is surprising how simple an automated solution turns out to be.

Comments

2 Responses to “Automate Updating Your Git Repositories”

  1. Patrick on March 8th, 2009 6:30 pm

    Hi Rob,

    that’s a really neat idea. Thanks for sharing.

  2. Mark on August 3rd, 2009 5:55 pm

    Awesome – just the thing I was looking for…

Leave a Reply