Skip to content

Instantly share code, notes, and snippets.

@stvhwrd
Created March 11, 2019 18:32
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 stvhwrd/8ad934e14c79401e8d4373bee19dd17a to your computer and use it in GitHub Desktop.
Save stvhwrd/8ad934e14c79401e8d4373bee19dd17a to your computer and use it in GitHub Desktop.
# Update
find . -type d -name .git -exec sh -c "cd \"{}\"/../ && pwd && git stash && git fetch -a && git checkout master && git pull && git stash pop" \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment