diff options
author | Alan Pearce | 2022-04-30 19:00:04 +0200 |
---|---|---|
committer | Alan Pearce | 2025-03-16 00:56:49 +0100 |
commit | feb8b02530b8d32e4659b16863d13ebd4379f142 (patch) | |
tree | 5db90542047494064fa5159b8b2e94017a7b27fd /post/self-hosted-git.md | |
parent | a1e37b3a20addda6dd00d1a0ccfd349eff8b3afd (diff) | |
download | website-feb8b02530b8d32e4659b16863d13ebd4379f142.tar.lz website-feb8b02530b8d32e4659b16863d13ebd4379f142.tar.zst website-feb8b02530b8d32e4659b16863d13ebd4379f142.zip |
Migrate syntax highlighting options to zola syntax
Diffstat (limited to 'post/self-hosted-git.md')
-rw-r--r-- | post/self-hosted-git.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/post/self-hosted-git.md b/post/self-hosted-git.md index 1cceff3..3bdbffb 100644 --- a/post/self-hosted-git.md +++ b/post/self-hosted-git.md @@ -63,7 +63,7 @@ means that I can create a remote repository automatically by cloning a repository URL that doesn't already exist. I can clone and create a new repo simultaneously like so: -```shell +```bash cd ~/projects git clone alanpearce.eu:some-new-repository ``` @@ -71,7 +71,7 @@ git clone alanpearce.eu:some-new-repository But with [ghq][], which I [blogged about before][using-ghq], I don't have to concern myself with where to put the repository: -```shell +```bash $ ghq get alanpearce.eu:some-new-repository clone ssh://alanpearce.eu/some-new-repository -> /Volumes/Code/projects/alanpearce.eu/some-new-repository git clone ssh://alanpearce.eu/some-new-repository /Volumes/Code/projects/alanpearce.eu/some-new-repository @@ -93,7 +93,7 @@ Host alanpearce.eu This repository would be private by default, but I can change that by an SSH command. Here's how I would do it: -```shell +```bash ssh alanpearce.eu perms some-new-repository + READERS gitweb ssh alanpearce.eu perms some-new-repository + READERS daemon ``` @@ -106,7 +106,7 @@ user and not `gitweb`, if I wanted. I can also add or change the description of a repository shown on cgit like so: -```shell +```bash ssh alanpearce.eu desc some-new-repository 'A new repository' ``` |