From 364d313614d6f7ca67f21958e3bafffb894ce47a Mon Sep 17 00:00:00 2001 From: Will Budic Date: Wed, 18 Dec 2024 19:32:34 +1100 Subject: [PATCH] Titled step for navigation. --- .../git_installation_with_gitweb.md | 42 +++++++++++++++---- 1 file changed, 34 insertions(+), 8 deletions(-) diff --git a/configuration_notes/git_installation_with_gitweb.md b/configuration_notes/git_installation_with_gitweb.md index 73d4d90..dbba1bc 100644 --- a/configuration_notes/git_installation_with_gitweb.md +++ b/configuration_notes/git_installation_with_gitweb.md @@ -1,16 +1,42 @@ # Git Installation For Developers Steps - * Add User on server where git-deamon.service is running. - * Add the user to the git group. - * Create public ssh key for authorised access to the server. - * Create /srv/git/some_repository - * Change permisions to git group for some_rempositoru - * git clone /srv/git/some_repository with: git clone some_user@server:/srv/git/some_rerpository - * Git add, commit, push from the server if it is an initial new repository. + 1. [Add User on server where git-daemon.service is running.](#adding-user) + 1. Add the user to the git group. + * It is advised to use same user name for both client and server. + * It might be possible and desirable that shares a home directory on server, that is restricted just to allow public remote access. + + 2. [Create public ssh key for authorized access to the server.](#create-public-key-on-client) + + + 3. [Create /srv/git/some_repository](#create-on-server-global-repository) + * Change permissions to git group for some_repository + * git clone /srv/git/some_repository with: git clone some_user@server:/srv/git/some_repository + + + 4. [Git add, commit, push from the server if it is an initial new repository.](#git-add--commit) --- -This document is under work. + > This document is under editing. + +--- + + + + +## Adding User + +[Top](#git-installation-for-developers-steps) + +## Create Public Key on Client + +[Top](#git-installation-for-developers-steps) + +## Create On Server Global Repository + +[Top](#git-installation-for-developers-steps) +## Git Add & Commit +[Top](#git-installation-for-developers-steps) -- 2.34.1