From 3d9c7d2ff68bffdac879e91a74aa0f34aa5ff71b Mon Sep 17 00:00:00 2001 From: Geert Stappers Date: Thu, 24 Aug 2023 22:00:04 +0200 Subject: [PATCH] README.md ready for copy and paste Made it possible the select the ```bash sections and just copy and paste it by removing the leading $ The long docker command line split into two physical lines to prevent horizontal scrolling. --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 60dd342..617d86e 100644 --- a/README.md +++ a/README.md @@ -54,10 +54,10 @@ rgit can be installed from source by cloning, building using [`cargo`][] and running the binary: ```bash -$ git clone https://github.com/w4/rgit -$ cd rgit -$ cargo build --release -$ ./target/release/rgit [::]:3333 /path/to/my-repos -d /tmp/rgit-cache.db +git clone https://github.com/w4/rgit +cd rgit +cargo build --release +./target/release/rgit [::]:3333 /path/to/my-repos -d /tmp/rgit-cache.db ``` [`cargo`]: https://www.rust-lang.org/ @@ -102,5 +102,6 @@ Running rgit in Docker is also simple, just mount the directory containing your repositories to `/git`: ```bash -$ docker run --mount type=bind,source=/path/to/my-repos,target=/git -it ghcr.io/w4/rgit:main +docker run --mount type=bind,source=/path/to/my-repos,target=/git \ + -it ghcr.io/w4/rgit:main ``` -- rgit 0.1.3