1
0
Fork 0
forked from ahurac/dotfiles
ahuarc-dotfiles/share/updateall/scripts.d/git
2023-07-15 14:56:37 +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