diff options
author | Alan Pearce | 2022-04-30 19:00:04 +0200 |
---|---|---|
committer | Alan Pearce | 2022-04-30 19:00:04 +0200 |
commit | a8ad05ee11fd6c6c32dbadad30ed2013b08587ae (patch) | |
tree | 32c7c03f3839cde46bbfcfcda491c0448dd6b6b9 /content/post/self-hosted-git.md | |
parent | 5deeb3893fead388293e16317b8a3e8f178d9e25 (diff) | |
download | website-a8ad05ee11fd6c6c32dbadad30ed2013b08587ae.tar.xz website-a8ad05ee11fd6c6c32dbadad30ed2013b08587ae.zip |
Migrate syntax highlighting options to zola syntax
Diffstat (limited to 'content/post/self-hosted-git.md')
-rw-r--r-- | content/post/self-hosted-git.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/content/post/self-hosted-git.md b/content/post/self-hosted-git.md index 1cceff3..3bdbffb 100644 --- a/content/post/self-hosted-git.md +++ b/content/post/self-hosted-git.md | |||
@@ -63,7 +63,7 @@ means that I can create a remote repository automatically by cloning a | |||
63 | repository URL that doesn't already exist. | 63 | repository URL that doesn't already exist. |
64 | I can clone and create a new repo simultaneously like so: | 64 | I can clone and create a new repo simultaneously like so: |
65 | 65 | ||
66 | ```shell | 66 | ```bash |
67 | cd ~/projects | 67 | cd ~/projects |
68 | git clone alanpearce.eu:some-new-repository | 68 | git clone alanpearce.eu:some-new-repository |
69 | ``` | 69 | ``` |
@@ -71,7 +71,7 @@ git clone alanpearce.eu:some-new-repository | |||
71 | But with [ghq][], which I [blogged about before][using-ghq], I don't | 71 | But with [ghq][], which I [blogged about before][using-ghq], I don't |
72 | have to concern myself with where to put the repository: | 72 | have to concern myself with where to put the repository: |
73 | 73 | ||
74 | ```shell | 74 | ```bash |
75 | $ ghq get alanpearce.eu:some-new-repository | 75 | $ ghq get alanpearce.eu:some-new-repository |
76 | clone ssh://alanpearce.eu/some-new-repository -> /Volumes/Code/projects/alanpearce.eu/some-new-repository | 76 | clone ssh://alanpearce.eu/some-new-repository -> /Volumes/Code/projects/alanpearce.eu/some-new-repository |
77 | git clone ssh://alanpearce.eu/some-new-repository /Volumes/Code/projects/alanpearce.eu/some-new-repository | 77 | git clone ssh://alanpearce.eu/some-new-repository /Volumes/Code/projects/alanpearce.eu/some-new-repository |
@@ -93,7 +93,7 @@ Host alanpearce.eu | |||
93 | This repository would be private by default, but I can change that by an | 93 | This repository would be private by default, but I can change that by an |
94 | SSH command. Here's how I would do it: | 94 | SSH command. Here's how I would do it: |
95 | 95 | ||
96 | ```shell | 96 | ```bash |
97 | ssh alanpearce.eu perms some-new-repository + READERS gitweb | 97 | ssh alanpearce.eu perms some-new-repository + READERS gitweb |
98 | ssh alanpearce.eu perms some-new-repository + READERS daemon | 98 | ssh alanpearce.eu perms some-new-repository + READERS daemon |
99 | ``` | 99 | ``` |
@@ -106,7 +106,7 @@ user and not `gitweb`, if I wanted. | |||
106 | I can also add or change the description of a repository shown on cgit like | 106 | I can also add or change the description of a repository shown on cgit like |
107 | so: | 107 | so: |
108 | 108 | ||
109 | ```shell | 109 | ```bash |
110 | ssh alanpearce.eu desc some-new-repository 'A new repository' | 110 | ssh alanpearce.eu desc some-new-repository 'A new repository' |
111 | ``` | 111 | ``` |
112 | 112 | ||