[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Setting up a Git server
From: |
quiliro |
Subject: |
Re: Setting up a Git server |
Date: |
Fri, 13 Sep 2019 01:08:33 -0500 |
Solved. The solution was devised by the great help of nckx. Below is the
turnkey version in detail:
## On the server
mkdir repo && cd repo && git init --shared=group --bare
## On the workstation
git clone ssh://user@server_IP_or_name:2222/directory/of/the/repo && cd
repo && echo "New file created on the workstation." > New && git add . &&
git commit -m "Addition of file on remote workstation." && git push