From cbc8450d6fb7bb7cb7a2286a5c939111b8f951fa Mon Sep 17 00:00:00 2001 From: jordan Date: Fri, 25 Aug 2023 10:52:44 +0100 Subject: [PATCH] Merge pull request #12 from stappersg/copy_and_paste README.md ready for copy and paste--- 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