Created
December 12, 2014 16:36
-
-
Save DimaSamodurov/668d435ccda2abf7680f to your computer and use it in GitHub Desktop.
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
Dir['*/'].each do |dir| | |
root = File.dirname __FILE__ | |
cmd = "cd #{root}/#{dir} && git pull" | |
puts cmd | |
`#{cmd}` | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment