How to setup a git repository to post commit notifications to Slack
Опубликовано пн, 02/12/2018 - 09:04 пользователем MaximStep 1: Create a bare repository
To create a new repository on your server named foo.git, first connect to your server, then run the following commands:
# Navigate on your server to the desired repository location cd /desired/path
# Create the directory mkdir foo.git # Navigate inside the new directory cd foo.git
# Initiate a bare git repository git init --bare --shared=2664