diff --git a/scripts/shell/job/pull-repo-references.sh b/scripts/shell/job/pull-repo-references.sh new file mode 100755 index 0000000..46812ea --- /dev/null +++ b/scripts/shell/job/pull-repo-references.sh @@ -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