Skip to content

Commit

Permalink
fix docs about sparse checkout
Browse files Browse the repository at this point in the history
I am using git version 2.39.2.

This version fixes some errors and warnings that I ran into

Signed-off-by: Jarrod Urban <[email protected]>
  • Loading branch information
jarrodu committed Dec 22, 2023
1 parent e6c7f90 commit 3f23c7e
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,14 @@ downloads/lxcfs/
All steps for creating a sparse checkout

```
#!/bin/bash
git clone --filter=blob:none --no-checkout [email protected]:lxc/linuxcontainers.org.git
cd linuxcontainers.org/
git sparse-checkout set --cone
echo -e '/*\n!downloads' >> .git/info/sparse-checkout
cd linuxcontainers.org
git sparse-checkout set --no-cone
echo -e '/*\n!downloads' > .git/info/sparse-checkout
git checkout main
git pull
mkdir -p downloads/cgmanager/
mkdir -p downloads/distrobuilder/
mkdir -p downloads/lxc/
mkdir -p downloads/lxcfs/
mkdir -p downloads/{incus,lxc,lxcfs,distrobuilder,cgmanager}
```

### Generating the website
Expand Down

0 comments on commit 3f23c7e

Please sign in to comment.