Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
executable file
·
21 lines (15 loc) · 600 Bytes

File metadata and controls

executable file
·
21 lines (15 loc) · 600 Bytes
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
# This command sets up any git submodules in the project.
# Generally, this only needs to be run once on a freshly cloned
# project, but won't harm anything if run later, provided
# you modify it to accomodate any submodules that should *NOT*
# be on the `master` branch.
git submodule init
git submodule update
git submodule foreach git branch --set-upstream master origin/master
git submodule foreach git checkout master
# If one module needs to follow a different branch:
# cd some_module
# git branch --set-upstream our-branch origin/some-branch
# git checkout our-branch
# cd ..
Morty Proxy This is a proxified and sanitized view of the page, visit original site.