Add scripts/shell/job/pull-repo-references.sh file

This commit is contained in:
Matheus Albino Brunhara
2024-03-28 13:25:50 -03:00
parent 55fd6f5c83
commit 6e231e2a57

View File

@@ -0,0 +1,13 @@
#!/bin/bash
cur_dir=`pwd`
dirs=`find * -maxdepth 0 -type d`
for d in ${dirs[@]}; do
if [ $d = "code" ]; then
continue
fi
cd $cur_dir/$d
git pull --rebase
done