Comments on How to Install HTTP Git Server With Nginx on Ubuntu 16.04

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.

5 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Wojciech Sciesinski

In the in point 4 you have double 't' in the example. The line 'sudo git --bare initt' should be 'sudo git --bare init'.

By: m0nKeY

There also other typos/bugs:sudo mkdir hitesh.gittsudo git --bare inittShould be:

sudo mkdir hitesh.git

sudo cd hitesh.gitsudo git --bare init

Otherwise you'll init /var/www/html/git as git repo.

By: Nijo

While running the git push origin master from the client machine we are getting the following error.Can anyone help on this ?

fatal: Authentication failed for 'http://[email protected]/hitesh.git/'

By: boobooKitty

yeah, getting the same issue.

By: aries

 

When I run  "git push origin master"?  ?i got a erroe log....              

2019/06/12 14:31:07 [error] 20352#20352: *1 FastCGI sent in stderr: "Request not supported: '/var/www/html/git/'" while reading response header from upstream, client: 192.168.100.141, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/fcgiwrap.socket:", host: "192.168.100.116"