2023-06-04 19:38:42 +02:00
|
|
|
#!/bin/sh
|
2023-07-15 14:56:37 +02:00
|
|
|
if cd ~/git; then
|
2023-05-03 08:06:35 +02:00
|
|
|
for repo in *; do
|
2023-06-16 11:23:01 +02:00
|
|
|
cd "$repo" || continue
|
|
|
|
printf '\n%s\n' "$repo"
|
2023-05-03 08:06:35 +02:00
|
|
|
git pull
|
2023-06-04 19:44:09 +02:00
|
|
|
cd ..
|
2023-05-03 08:06:35 +02:00
|
|
|
done
|
2023-06-04 19:44:09 +02:00
|
|
|
else
|
|
|
|
>&2 echo "Can't find your git folder!"
|
2023-04-13 00:16:36 +02:00
|
|
|
fi
|
|
|
|
|