Categories
Tutorials

Setup a Git server for local use

# On server side Make sure you have install ssh server, sudo apt install openssh-server Create ‘git’ user sudo adduser git sudo passwd git Create repository (remember to use git init –base on server side): su – git mkdir /home/git/sample-project.git cd sample-project.git git init –bare –shared Create users to use git sudo adduser user1 Add […]