Skip to content

Instantly share code, notes, and snippets.

@ttlequals0
Created December 8, 2016 03:56
Show Gist options
  • Save ttlequals0/b48ca9a05b03c6ca1ed2cc1fd95ddc7c to your computer and use it in GitHub Desktop.
Save ttlequals0/b48ca9a05b03c6ca1ed2cc1fd95ddc7c to your computer and use it in GitHub Desktop.
Git pull on all git repos in current directory
for dir in $(ls -dl ./* |awk '{print $9}'); do cd $dir ; git pull ; cd ../ ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment