You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-1Lines changed: 20 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,26 @@ This site is built with [Hugo](https://gohugo.io/) and served via GitHub Pages.
8
8
9
9
## Local development setup
10
10
11
-
It is highly recommended to clone this repository using [`scalar`](https://git-scm.com/docs/scalar); This allows to work only on the parts of the repository relevant to your interests. You can select which directories are checked out using the [`git sparse-checkout add <directory>...`](https://git-scm.com/docs/git-sparse-checkout) command. The relevant directories are:
11
+
> [!NOTE]
12
+
> It is highly recommended to clone this repository using [`scalar`](https://git-scm.com/docs/scalar); This allows to work only on the parts of the repository relevant to your interests. You can select which directories are checked out using the [`git sparse-checkout add <directory>...`](https://git-scm.com/docs/git-sparse-checkout) command. Typically, you will want to start like this:
13
+
14
+
```ShellSession
15
+
$ scalar clone https://github.com/git/git-scm.com
16
+
$ cd git-scm.com/src
17
+
$ git sparse-checkout set layouts content static assets hugo.yml data script
18
+
19
+
If your Git installation comes without `scalar`, you can create a sparse, partial clone manually, like this:
$ git sparse-checkout set layouts content static assets hugo.yml data script
25
+
$ git reset --hard
26
+
```
27
+
> [!NOTE]
28
+
> If you _already_ have a full clone and wish to accelerate development by focusing only on a small subset of the pages, you may want to run the `git sparse-checkout set [...]` command mentioned above.
29
+
30
+
Here is a detailed list of the relevant directories:
12
31
13
32
- If you want to test any page rendering using Hugo:
0 commit comments