mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2024-12-19 20:12:52 +02:00
doc: Add blobless checkout manual
[why] A depth-less checkout is usually useless if you want to do some code development; but on the other hand you usually never ever need the old blobs (i.e. font files). Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
This commit is contained in:
parent
96497b4fef
commit
dadfedb11f
@ -273,7 +273,13 @@ If you do want to clone the entire repo be sure to _shallow_ clone:
|
||||
git clone --depth 1
|
||||
```
|
||||
|
||||
If you want to clone a sub-directory, use `git sparse-checkout`. The following example requires `Git v2.26`:
|
||||
Even if you develop you probably do not need the old versions of the font files. With this command you have all commits but not all the old data - it will be loaded only if you check out old binaries (or do a blame):
|
||||
|
||||
```sh
|
||||
git clone --filter=blob:none git@github.com:ryanoasis/nerd-fonts
|
||||
```
|
||||
|
||||
If you want to clone just a sub-directory, use `git sparse-checkout`.
|
||||
|
||||
```sh
|
||||
git clone --filter=blob:none --sparse git@github.com:ryanoasis/nerd-fonts
|
||||
|
Loading…
Reference in New Issue
Block a user