From 98de37c3cf1f10ae46a5da33496f340f30609cde Mon Sep 17 00:00:00 2001 From: amin roosta Date: Thu, 7 May 2015 10:06:19 +0430 Subject: [PATCH 1/3] recommend shadow clone for end users --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 85580834..b3de228c 100644 --- a/README.md +++ b/README.md @@ -15,14 +15,14 @@ look something like: ``` cd ~/"Library/Application Support/Sublime Text 3/Packages" -git clone https://github.com/Microsoft/TypeScript-Sublime-Plugin.git TypeScript +git clone --depth=1 https://github.com/Microsoft/TypeScript-Sublime-Plugin.git TypeScript ``` And on Windows something like: ``` cd "%APPDATA%\Sublime Text 3\Packages" -git clone https://github.com/Microsoft/TypeScript-Sublime-Plugin.git TypeScript +git clone --depth=1 https://github.com/Microsoft/TypeScript-Sublime-Plugin.git TypeScript ``` Note if you are using the portable version of Sublime Text, the location will be From 90f23b6ad1471ad267cda2ac9970d111372dee22 Mon Sep 17 00:00:00 2001 From: amin roosta Date: Fri, 8 May 2015 11:40:59 +0430 Subject: [PATCH 2/3] explain what --depth 1 does --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b3de228c..01dad629 100644 --- a/README.md +++ b/README.md @@ -15,16 +15,17 @@ look something like: ``` cd ~/"Library/Application Support/Sublime Text 3/Packages" -git clone --depth=1 https://github.com/Microsoft/TypeScript-Sublime-Plugin.git TypeScript +git clone --depth 1 https://github.com/Microsoft/TypeScript-Sublime-Plugin.git TypeScript ``` And on Windows something like: ``` cd "%APPDATA%\Sublime Text 3\Packages" -git clone --depth=1 https://github.com/Microsoft/TypeScript-Sublime-Plugin.git TypeScript +git clone --depth 1 https://github.com/Microsoft/TypeScript-Sublime-Plugin.git TypeScript ``` +(`--depth 1` downloads only the current version to reduce the clone size.) Note if you are using the portable version of Sublime Text, the location will be different. (See http://docs.sublimetext.info/en/latest/basic_concepts.html#the-data-directory for more info). From 9fa905d1e7b48f0394a79d363870a868be6fc3c3 Mon Sep 17 00:00:00 2001 From: amin roosta Date: Fri, 8 May 2015 11:42:33 +0430 Subject: [PATCH 3/3] formatting --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 01dad629..8232263e 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ cd "%APPDATA%\Sublime Text 3\Packages" git clone --depth 1 https://github.com/Microsoft/TypeScript-Sublime-Plugin.git TypeScript ``` -(`--depth 1` downloads only the current version to reduce the clone size.) +(`--depth 1` downloads only the current version to reduce the clone size.) Note if you are using the portable version of Sublime Text, the location will be different. (See http://docs.sublimetext.info/en/latest/basic_concepts.html#the-data-directory for more info).