Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M3P2 HTML Generator
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
12
Issues
12
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
M3P2
M3P2 HTML Generator
Commits
fed28643
Commit
fed28643
authored
Apr 05, 2019
by
Goutte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the "detached head" of the submodule issue.
Hopefully.
parent
aac2217c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
clone_courses.sh
bin/clone_courses.sh
+4
-6
No files found.
bin/clone_courses.sh
View file @
fed28643
...
@@ -10,12 +10,10 @@ cd ..
...
@@ -10,12 +10,10 @@ cd ..
echo
-e
"Creating backup of pages in
${
BACKUP
}
"
echo
-e
"Creating backup of pages in
${
BACKUP
}
"
mv
${
COURSES_DIR
}
${
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 update
--init
--recursive
git submodule foreach git checkout master
git submodule foreach git pull origin master
git submodule foreach git pull origin master
echo
-e
"Done!"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment