summaryrefslogtreecommitdiffstats
path: root/content/en/articles/git-setup-own-server/index.md
diff options
context:
space:
mode:
Diffstat (limited to 'content/en/articles/git-setup-own-server/index.md')
-rw-r--r--content/en/articles/git-setup-own-server/index.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/en/articles/git-setup-own-server/index.md b/content/en/articles/git-setup-own-server/index.md
index 0ba09c1..5fa9186 100644
--- a/content/en/articles/git-setup-own-server/index.md
+++ b/content/en/articles/git-setup-own-server/index.md
@@ -32,12 +32,12 @@ Installing a git server is quite simple once you know how it works, on my server
I've added a new user and group to my server but before doing so I added /usr/bin/git-shell to /etc/shells in order to use it as login shell for my git user.
-{{< highlight bash >}}
+```bash
echo "/usr/bin/git-shell" >> /etc/shells
groupadd git
mkdir /var/git
useradd -d /var/git -g git -M -s /usr/bin/git-shell
-{{< /highlight >}}
+```
now the user is all set and ready to be used. Next step will be to create the .ssh directory and the authorized_keys file to hold the keys for the developers that have to access the git server. Here's how I did it: