Skip to content

Commit 8ec4f8f

Browse files
kimishpatelfacebook-github-bot
authored andcommitted
Update documentation for submdule sync
Summary: Subodule sync and update is necessary whenver commit hash of any submodule changes. Thus it is safe to do git submodule update anytime you pull from upstream Reviewed By: mcr229 Differential Revision: D48357048 fbshipit-source-id: 29622668e56a9aefa0004b33b577898f66ae8841
1 parent f66d687 commit 8ec4f8f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/website/docs/tutorials/00_setting_up_executorch.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,12 @@ git clone https://github.com/pytorch/executorch.git
9393
git clone [email protected]:pytorch/executorch.git
9494
```
9595

96-
Ensure that git has fetched the submodules. This is only necessary after
97-
cloning.
96+
Ensure that git has fetched and updated the submodules. This is necessary anytime
97+
commit hash of any of the submodules changes. Thus it is safe and necessary at times to apply this step after you pull changes from upstream.
9898

9999
```bash
100100
cd executorch
101+
git submodule sync
101102
git submodule update --init
102103
```
103104

0 commit comments

Comments
 (0)