Skip to content

Commit 021a647

Browse files
committed
README: stop using rarely-used ShellSession markup
The `ShellSession` markup seems to be relatively uncommon, only supported on GitHub. A more common markup -- also understood by GitHub, but supported much more widely, e.g. in Hugo's very own default Markdown processor -- is the `console` one. So let's use that instead. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 6540655 commit 021a647

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ This site is built with [Hugo](https://gohugo.io/) and served via GitHub Pages.
1111
> [!NOTE]
1212
> 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:
1313
14-
```ShellSession
14+
```console
1515
$ scalar clone https://github.com/git/git-scm.com
1616
$ cd git-scm.com/src
1717
$ git sparse-checkout set layouts content static assets hugo.yml data script
1818
```
1919

2020
If your Git installation comes without `scalar`, you can create a sparse, partial clone manually, like this:
2121

22-
```ShellSession
22+
```console
2323
$ git clone --filter=blob:none --no-checkout https://github.com/git/git-scm.com
2424
$ cd git-scm.com
2525
$ git sparse-checkout set layouts content static assets hugo.yml data script

0 commit comments

Comments
 (0)