I went to my server and created git repo:
(link: http://kb.mediatemple.net/questions/1594/Using+Git )
So, I created a folder:
blah.git
Then I did:
git --bare init
Then I got into the hooks folder and changed the permissions for post-update.
Now locally in windows I tried this:
git clone http://git.example.com/blah.git
and received this message:
initialized empty git in e: /gitTest/blah/.git/fatal: http://git.example.com/blah.git/info/refs not found, did you run git update-server-info on the server?
Well, I ran this command on the server. And it seems that the info / refs file exists, but finding the cat on it shows that it is empty.
Am I missing a step?
, , . , .
: , URL- git.example.com.
HTTP HTTPS? , SSL GIT_SSL_NO_VERIFY . http.sslVerify false git config.
GIT_SSL_NO_VERIFY
http.sslVerify
git config
-?
Git HTTP - : s-l-o-w, , , . , , info/refs, .
info/refs
A very simple solution to this problem is SCM-Manager. Take a look at https://bitbucket.org/sdorra/scm-manager
Source: https://habr.com/ru/post/1723687/More articles:Create a new tuple with one element changed - pythonHow can you physically determine the size of physical RAM in Linux? - linuxChecking for an event handler - c #Designing a multiprocessor spider in Python - pythonWindows 7 taskbar - jumplist, jumplistlink and jumplistitem - c #Android: using 9-patch and text for ItemizedOverlay on MapView - androidGoogle Maps maximum markers - javascriptFTP and HTTP download on iPhone - httpHow to get hours: minutes - pythonEffective algorithm for removing any card that is contained in another card from a set of cards - setAll Articles