Skip to content

Instantly share code, notes, and snippets.

@Code0987
Created September 19, 2019 06:02
Show Gist options
  • Select an option

  • Save Code0987/b9f60a6e2f4019ab451eac6b477f246c to your computer and use it in GitHub Desktop.

Select an option

Save Code0987/b9f60a6e2f4019ab451eac6b477f246c to your computer and use it in GitHub Desktop.
for i in */.git; do ( echo $i; cd $i/..; git stash && git checkout master && git pull; ); done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment