xcat-core/xCAT-OpenStack/chef-cookbooks/grizzly-xcat/cookbooks/pull.sh

12 lines
141 B
Bash
Executable File

#!/bin/sh
#wq
cd cookbooks
for name in `ls`
do
echo -e "\n------------cd $name-----------"
cd $name
git branch
git pull
cd ..
done