blob: 6c2560f5c25d2ae96f427dc1adc31f6a85b711cc [file] [log] [blame]
#!/bin/bash
while read p; do
if [ ! -e $p ]; then
echo $p
git clone ssh://gerrit.onap.org:29418/$p $p
else
pushd $p > /dev/null
# git fetch
# git reset --hard origin
echo -ne "$p:\t"
git pull
popd > /dev/null
fi
done < projects.txt