1
0
Fork 0
forked from ahurac/dotfiles
ahuarc-dotfiles/local/share/updateall/commands.d/git

15 lines
207 B
Text
Raw Normal View History

2023-04-13 00:16:36 +02:00
if [[ -d ~/Git ]]; then
pushd "${HOME}/Git" > /dev/null
for repo in ./*; do
cd "$repo"
echo
basename "$repo"
git pull
cd ..
done
popd > /dev/null
else
>&2 echo "\"~/Git\" does not exist!"
fi