This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |