Skip to content

Instantly share code, notes, and snippets.

@randy681
randy681 / pull-all.sh
Created September 17, 2022 22:09 — forked from jph00/pull-all.sh
Update in parallel all repos listed in ~/git/repos, and print status of any that are dirty
#!/usr/bin/env bash
for f in $(<~/git/repos); do
cd ~/git/$f
git pull > /dev/null &
cd - > /dev/null
done
wait < <(jobs -p)
for f in $(<~/git/repos); do