From ad6d79d539085993871e05df27d588cf21b6f1c4 Mon Sep 17 00:00:00 2001 From: Marty Sluijtman Date: Mon, 10 Oct 2022 12:12:09 +0200 Subject: [PATCH] Typos --- content/rambles/git-server.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/content/rambles/git-server.md b/content/rambles/git-server.md index 7ba9b02..ccc16f7 100644 --- a/content/rambles/git-server.md +++ b/content/rambles/git-server.md @@ -73,7 +73,8 @@ cat .pub >> ~/.ssh/authorized_keys You should now be able to log into your host as the `git` user with using ``. Setting up the route from client to server is half the work. -Next step, to make this actually server a Git repository, is to create one. +Next step. +Make this actually serve Git repositories. All this requires is a bare Git repository somewhere within `/srv/git`. To do this, log in as the `git` user and run: ```sh @@ -97,7 +98,7 @@ git commit -m "Initial commit" git push -u origin main # assuming you use main as your default branch name ``` -To clone this repository on another machine, add the `` SSH keypair and related configuration section in `~/.ssh/config` so said machine and run: +To clone this repository on another machine, add the `` SSH keypair and related configuration section in `~/.ssh/config` to said machine and run: ```sh git clone -git:/srv/git/.git ```