Repository tools
This commit is contained in:
15
bin/repo-update.sh
Executable file
15
bin/repo-update.sh
Executable file
@ -0,0 +1,15 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user