Files
git_tools/bin/repo-update.sh
2023-06-21 15:43:22 -04:00

16 lines
246 B
Bash
Executable File

#!/bin/sh
PSTAR=https://www.probestar.com/PStar
for i in *
do
if [ -d $i ]; then
cd $i
git remote set-url origin $PSTAR/$i.git
git pull --recurse-submodules
cd ..
else
git clone $PSTAR/$i.git --recursive
fi
done