scripts/update-all.sh

12 lines
316 B
Bash
Raw Normal View History

2024-12-24 13:52:15 -05:00
# This script pulls new changes to all relevant repositories into respective folders in the current working directory.
git_url="https://git.trinkey.com/t"
declare -a repositories=("common" "auth" "message")
for service in "${repositories[@]}"
do
cd $service
git stash && git pull && git stash pop
cd ..
done