Skip to content

Commit bf78a15

Browse files
committed
Merge pull request #186 from aminroosta/master
recommend shadow clone for end users
2 parents 38f74ce + 9fa905d commit bf78a15

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,17 @@ look something like:
1515

1616
```
1717
cd ~/"Library/Application Support/Sublime Text 3/Packages"
18-
git clone https://github.com/Microsoft/TypeScript-Sublime-Plugin.git TypeScript
18+
git clone --depth 1 https://github.com/Microsoft/TypeScript-Sublime-Plugin.git TypeScript
1919
```
2020

2121
And on Windows something like:
2222

2323
```
2424
cd "%APPDATA%\Sublime Text 3\Packages"
25-
git clone https://github.com/Microsoft/TypeScript-Sublime-Plugin.git TypeScript
25+
git clone --depth 1 https://github.com/Microsoft/TypeScript-Sublime-Plugin.git TypeScript
2626
```
2727

28+
(`--depth 1` downloads only the current version to reduce the clone size.)
2829
Note if you are using the portable version of Sublime Text, the location will be
2930
different. (See http://docs.sublimetext.info/en/latest/basic_concepts.html#the-data-directory
3031
for more info).

0 commit comments

Comments
 (0)