Comments on How to Install HTTP Git Server with Nginx on Ubuntu 18.04 LTS
Git is a free and open source version control system that can be used to track changes of code. Git allows you to create many repositories for the same application and coordinating work on those files among multiple people. It is primarily used for source code management in software development.
6 Comment(s)
Comments
sudo ufw allow http sudo ufw allow http -2nd means ssh?
Thank you for pointing out the typo, it has been corrected.
I've tried cloning with your suggestion: git clone [email protected]:/var/www/html/git/hitesh.git but this didn't work.
Instead I used: git clone http://[email protected]/hitesh.git and it worked like a charm. Any ideas why?
Please can you also provide the GUI for current git server setup. It will be helpful
after all scripts applied the browser url naviagate to http://hitesh@IP/hitesh.git returns error, the page not found. 3 times re-install ubuntu server 18.04, the same result. Kill for this 2 days, not 10 minutes. It wont work
I have try your method git push was working client machine but another client machine git clone isn't working..
error
Cloning into 'hitesh'...
ssh: connect to host 192.168.1.18 port 22: Connection refused
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.