Skip to content

Commit 52963e8

Browse files
committed
[release/0.1] Update clone commands to use the v0.1.0 tag
This commit is on the release/0.1 branch. Any docs here should recommend using the v0.1.0 tag that we will create to point to the final release next week. Modifying only this branch means that the docs on the `main` branch will default to cloning with the `main` branch, which is the right behavior.
1 parent c101c93 commit 52963e8

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

build/test_ios.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ say() {
5252
say "Cloning the Code"
5353

5454
pushd . > /dev/null
55-
git clone https://github.com/pytorch/executorch.git "$OUTPUT"
55+
git clone --branch v0.1.0 https://github.com/pytorch/executorch.git "$OUTPUT"
5656
cd "$OUTPUT"
5757

5858
say "Updating the Submodules"

docs/source/getting-started-setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Follow these steps:
8686
1. Clone the `executorch` repository:
8787

8888
```bash
89-
git clone [email protected]:pytorch/executorch.git
89+
git clone --branch v0.1.0 [email protected]:pytorch/executorch.git
9090
```
9191

9292
1. Update the submodules:

docs/source/tutorials_source/export-to-executorch-tutorial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
# Install ExecuTorch from source. If cloning is failing on Google Colab, make
4646
# sure Colab -> Setting -> Github -> Access Private Repo is checked::
4747
#
48-
# !git clone https://{github_username}:{token}@github.com/pytorch/executorch.git
48+
# !git clone --branch v0.1.0 https://{github_username}:{token}@github.com/pytorch/executorch.git
4949
# !cd executorch && bash ./install_requirements.sh
5050

5151
######################################################################

docs/source/tutorials_source/sdk-integration-tutorial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
# Install ExecuTorch from source. If cloning is failing on Google Colab, make
4343
# sure Colab -> Setting -> Github -> Access Private Repo is checked::
4444
#
45-
# !git clone https://{github_username}:{token}@github.com/pytorch/executorch.git
45+
# !git clone --branch v0.1.0 https://{github_username}:{token}@github.com/pytorch/executorch.git
4646
# !cd executorch && bash ./install_requirements.sh
4747

4848
######################################################################

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ allow you to export your PyTorch model to a flatbuffer file using ExecuTorch.
1414

1515
```bash
1616
# Do one of these, depending on how your auth is set up
17-
git clone https://github.com/pytorch/executorch.git
18-
git clone [email protected]:pytorch/executorch.git
17+
git clone --branch v0.1.0 https://github.com/pytorch/executorch.git
18+
git clone --branch v0.1.0 [email protected]:pytorch/executorch.git
1919
```
2020

2121
Ensure that git has fetched and updated the submodules. This is necessary

0 commit comments

Comments
 (0)