I use git for version control, and I want to automate git to pull everything out so that one of the collaborators automatically clicks on the release branch to the remote server, and if I want to do this via ssh, I have to add all the co-authors ssh keys to my server, but I donβt want to give them access to the server, so I want to set this git to HTTP interception so that everyone can click on the remote server via HTTP
What I have done so far is to install git hook, and I use Nginx as a web service, and I put the bare git repository in
/var/www/html/test_repo
and I installed my git remote on the local machine as follows:
git remote add test http:
but he gives me this error:
fatal: repository 'http://ServerIp/test_repo/' not found