Skip to content

Instantly share code, notes, and snippets.

@rarajabs
rarajabs / Automate git pulling
Created February 23, 2012 01:49 — forked from nas/Automate git pulling
Automate git pulling
#!/usr/local/bin/ruby -swI .
#
# AUTOMATE UPDATING ALL PROJECTS
#
# Problem: going to each project and then pulling changes.
# Solution: Automate git pulling for all my projects
#
# 1. Create a pull_projects file and add the code from this gist
# 2. Move the file into a directory that is in your path, i.e. $PATH
# 3. Make the file executable, eg. chmod +x /usr/local/bin/pull_projects