Skip to content

Instantly share code, notes, and snippets.

@MarioVilas
Created October 1, 2016 12:04
Show Gist options
  • Save MarioVilas/bb085cc63234401fefd36caece0b087a to your computer and use it in GitHub Desktop.
Save MarioVilas/bb085cc63234401fefd36caece0b087a to your computer and use it in GitHub Desktop.
Stupid simple script to git pull from a lot of repositories.
#!/bin/bash
for i in */.git
do
cd $i/..
git pull
cd ..
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment