Skip to content

Instantly share code, notes, and snippets.

@djekl
Created March 29, 2013 10:25
Show Gist options
  • Save djekl/5270080 to your computer and use it in GitHub Desktop.
Save djekl/5270080 to your computer and use it in GitHub Desktop.
Update all git repos in the ~/projects folder.
alias update_all_git_repos='find ~/projects -name .git -type d -exec sh -c "cd {} && cd .. && pwd && git pull --all --recurse-submodules && echo '\'''\''" \;'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment