14 lines
186 B
Bash
Executable File
14 lines
186 B
Bash
Executable File
#!/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
|