Skip to content

Instantly share code, notes, and snippets.

@usptact
Created July 25, 2023 06:43
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 usptact/ecbea82c6e2742461fbb0c27a58437f5 to your computer and use it in GitHub Desktop.
Save usptact/ecbea82c6e2742461fbb0c27a58437f5 to your computer and use it in GitHub Desktop.
Do "git pull" in every git repo
$ find . -maxdepth 1 -type d \( ! -name . \) -exec bash -c "cd '{}' && git pull" \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment