diff options
| author | Danilo M. <danix@danix.xyz> | 2026-04-18 18:19:47 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-04-18 18:19:47 +0200 |
| commit | 46779476a570346661a2741607265caed42829b2 (patch) | |
| tree | 40ceae59ea6733fbd4dcce41d9ff6e5b24fc3d4e /content/en/articles/git-setup-own-server/index.md | |
| parent | c1407fa9fb558e42588aa194a53e78a087f045f0 (diff) | |
| download | danixxyz-46779476a570346661a2741607265caed42829b2.tar.gz danixxyz-46779476a570346661a2741607265caed42829b2.zip | |
consolidated duplicated shortcodes. Initial fix of the content files. Manual review needed
Diffstat (limited to 'content/en/articles/git-setup-own-server/index.md')
| -rw-r--r-- | content/en/articles/git-setup-own-server/index.md | 4 |
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: |
