Create git server on linux

Published: 01 January 1970
on channel: Grupo Faster
26
4

Create git server on linux using this commands:

SERVER SIDE:
apt-get install git

adduser git
mkdir /home/git/projects
chown git: /home/git -R

su -l git
git init --bare demo.git

ssh-keygen -t rsa -b 4096
cp ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys

LOCAL SIDE:
git clone git@SERVER_IP_OR_NAME:/home/git/projects/demo.git


On this page of the site you can watch the video online Create git server on linux with a duration of hours minute second in good quality, which was uploaded by the user Grupo Faster 01 January 1970, share the link with friends and acquaintances, this video has already been watched 26 times on youtube and it was liked by 4 viewers. Enjoy your viewing!