Skip to content

Instantly share code, notes, and snippets.

@roppa roppa/pullrepos.sh
Created Dec 12, 2018

Embed
What would you like to do?
Git pull origin master in folder containing many git repos
#!/bin/bash
for f in $PWD/*;
do
[ -d $f ]
cd "$f"
echo $f
git pull origin master
done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.