Skip to content

Instantly share code, notes, and snippets.

@dantheman213
Last active December 10, 2015 18:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dantheman213/0d259d7ccb40e6fe428d to your computer and use it in GitHub Desktop.
Save dantheman213/0d259d7ccb40e6fe428d to your computer and use it in GitHub Desktop.
Execute this one-liner in your primary directory for git projects to get latest codebase
for k in `ls`; do echo "Getting latest for $k"; cd $k; git fetch; git pull; cd ..; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment