summaryrefslogtreecommitdiff
path: root/.local/bin/update-repos
blob: cfa5810c4629c13954a270610ed1807224cecbfd (plain)
1
2
3
4
5
6
7
#!/bin/sh

## run this in a directory full of git repos (i usually keep them in ~)
for dir in *
do
  cd "$dir" && git pull | sed s/Already/"$dir"\ is\ already/; cd ..
done