Skip to content

Commit 1ef0faf

Browse files
committed
update_repository.sh fixed
1 parent fbb15d5 commit 1ef0faf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

update_repository.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
#!/bin/sh
22

3-
# Init the subrepos
4-
git submodule update --init --recursive
5-
git submodule foreach --recursive "git checkout master"
6-
73
# Update the main repo
84
git checkout master
95
git fetch
106
git pull
117

8+
# Init the subrepos
9+
git submodule update --init --recursive
10+
git submodule foreach --recursive "git checkout master"
11+
1212
# Update the subrepos
1313
git submodule foreach --recursive "git pull"

0 commit comments

Comments
 (0)