1
0
Fork 0
forked from ahurac/dotfiles
ahuarc-dotfiles/share/updateall/scripts.d/70-git
2023-09-15 10:04:54 +02:00

12 lines
205 B
Bash
Executable file

#!/bin/sh
if cd ~/git; then
for repo in *; do
cd "$repo" || continue
printf '\n%s\n' "$repo"
git pull
cd ..
done
else
>&2 echo "Can't find your git folder!"
fi