Skip to content

Instantly share code, notes, and snippets.

@thirdy
Created June 10, 2016 06:00
Show Gist options
  • Save thirdy/2b09b5c0aad26efeff32757f6a47b146 to your computer and use it in GitHub Desktop.
Save thirdy/2b09b5c0aad26efeff32757f6a47b146 to your computer and use it in GitHub Desktop.
Bash script for running multiple git pull on multiple directories
#!/bin/bash
for REPO in */; do (cd "$REPO"; echo "pull ----------------------------------------------------------------------------> " ${REPO}; git pull); done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment