File tree 1 file changed +23
-3
lines changed 1 file changed +23
-3
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,31 @@ Next you must clone `greenelab/manubot-rootstock` and configure its branches and
25
25
git clone https://github.com/greenelab/manubot-rootstock.git $REPO
26
26
cd $REPO
27
27
28
+ # Squash all manubot-rootstock commits
29
+ git reset $( \
30
+ GIT_AUTHOR_NAME=" Manubot Rootstock Contributors" \
31
+ GIT_AUTHOR_EMAIL=" " \
32
+ git commit-tree HEAD^{tree} \
33
+ -m " Squash all manubot rootstock commits" \
34
+ -m " From https://github.com/greenelab/manubot-rootstock/tree/` git rev-parse HEAD` " \
35
+ )
36
+
37
+ # Create remote gh-pages branch
38
+ git checkout --orphan gh-pages
39
+ git rm -r --cached .
40
+ git commit --allow-empty \
41
+ --message " Blank branch instantiation commit" \
42
+ --message " [ci skip]"
43
+
44
+ # Create remote output branch
45
+ git branch output
46
+ git checkout output
47
+
48
+ # Return to the master branch
49
+ git checkout --force master
50
+
28
51
# Configure remotes and branches
29
52
git remote add rootstock https://github.com/greenelab/manubot-rootstock.git
30
- git checkout gh-pages
31
- git checkout output
32
- git checkout master
33
53
34
54
# Option A: Set origin URL using its web address
35
55
git remote set-url origin https://github.com/$OWNER /$REPO .git
You can’t perform that action at this time.
0 commit comments