Use correct capitalization
This commit is contained in:
Родитель
51cc3ce337
Коммит
cdca3df686
10
README.md
10
README.md
|
@ -56,7 +56,7 @@ The two suggested workflows are:
|
||||||
|
|
||||||
1. Install [Git LFS](https://git-lfs.github.com/).
|
1. Install [Git LFS](https://git-lfs.github.com/).
|
||||||
2. Run `git lfs install` to setup global git hooks. You only need to run this once per machine.
|
2. Run `git lfs install` to setup global git hooks. You only need to run this once per machine.
|
||||||
3. ssh auth: `git clone git@github.com:microsoft/vscode-docs.git`<br>https auth: `git clone https://github.com/microsoft/vscode-docs.git`
|
3. SSH auth: `git clone git@github.com:microsoft/vscode-docs.git`<br>HTTPS auth: `git clone https://github.com/microsoft/vscode-docs.git`
|
||||||
4. Now you can `git add` binary files and commit them. They'll be tracked in LFS.
|
4. Now you can `git add` binary files and commit them. They'll be tracked in LFS.
|
||||||
|
|
||||||
#### Cloning without binary files
|
#### Cloning without binary files
|
||||||
|
@ -67,11 +67,11 @@ You might want to clone the repo without the 1.6GB images. Here are the steps:
|
||||||
2. Run `git lfs install` to setup global git hooks. You only need to run this once per machine.
|
2. Run `git lfs install` to setup global git hooks. You only need to run this once per machine.
|
||||||
3. Clone the repo without binary files.
|
3. Clone the repo without binary files.
|
||||||
- macOS / Linux:
|
- macOS / Linux:
|
||||||
- ssh auth: `GIT_LFS_SKIP_SMUDGE=1 git clone git@github.com:microsoft/vscode-docs.git`
|
- SSH auth: `GIT_LFS_SKIP_SMUDGE=1 git clone git@github.com:microsoft/vscode-docs.git`
|
||||||
- https auth: `GIT_LFS_SKIP_SMUDGE=1 git clone https://github.com/microsoft/vscode-docs.git`
|
- HTTPS auth: `GIT_LFS_SKIP_SMUDGE=1 git clone https://github.com/microsoft/vscode-docs.git`
|
||||||
- Windows:
|
- Windows:
|
||||||
- ssh auth: `$env:GIT_LFS_SKIP_SMUDGE="1"; git clone git@github.com:microsoft/vscode-docs.git`
|
- SSH auth: `$env:GIT_LFS_SKIP_SMUDGE="1"; git clone git@github.com:microsoft/vscode-docs.git`
|
||||||
- https auth: `$env:GIT_LFS_SKIP_SMUDGE="1"; git clone https://github.com/microsoft/vscode-docs.git`
|
- HTTPS auth: `$env:GIT_LFS_SKIP_SMUDGE="1"; git clone https://github.com/microsoft/vscode-docs.git`
|
||||||
4. Now you can selectively checkout some binary files to work with. For example:
|
4. Now you can selectively checkout some binary files to work with. For example:
|
||||||
- `git lfs pull -I "docs/nodejs"` to only download images in `docs/nodejs`
|
- `git lfs pull -I "docs/nodejs"` to only download images in `docs/nodejs`
|
||||||
- `git lfs pull -I "release-notes/images/1_4*/*"` to only download images in `release-notes/images/1_4*`
|
- `git lfs pull -I "release-notes/images/1_4*/*"` to only download images in `release-notes/images/1_4*`
|
||||||
|
|
Загрузка…
Ссылка в новой задаче