Skip to content

Instantly share code, notes, and snippets.

@robsondepaula
Created May 24, 2019 13:44
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 robsondepaula/bce20328e73fc74b5a957130bf38f50b to your computer and use it in GitHub Desktop.
Save robsondepaula/bce20328e73fc74b5a957130bf38f50b to your computer and use it in GitHub Desktop.
for dir in *; do
if [ -d "$dir" ]; then
echo "$dir"
cd "$dir"
git pull
cd ".."
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment