scripts/update-all.sh
2024-12-31 20:07:58 -05:00

11 lines
324 B
Bash
Executable file

# 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", "blog")
for service in "${repositories[@]}"
do
cd $service
git stash && git pull && git stash pop
cd ..
done