Commit fed28643 authored by Goutte's avatar Goutte

Fix the "detached head" of the submodule issue.

Hopefully.
parent aac2217c
......@@ -10,12 +10,10 @@ cd ..
echo -e "Creating backup of pages in ${BACKUP}"
mv ${COURSES_DIR} ${BACKUP}
#COURSES_DIR="user/pages/03.courses"
#
#rm ${COURSES_DIR}
# shallow? (perhaps we should use a submodule anyways)
#git clone ssh://git@m3p2.ljbac.com:10022/m3p2/courses.git ${COURSES_DIR}
echo -e "Fetching fresh courses from server…"
git submodule update --init --recursive
git submodule foreach git checkout master
git submodule foreach git pull origin master
echo -e "Done!"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment