8

I've recently followed this guide Installing a Git Server using Apache (WebDAV) on Ubuntu Server 12.04 to setup a local Git Server using Apache (WebDAV).

I have pushed my source code to the Git Server through command prompt.

I want to be able to do is pull / push / commit this source code using Visual Studio. From what I have read its appears to be possible. I'm getting the following error message when you try and clone this source code through visual studio:

Error encountered while cloning the remote repository: Early EOF

Any help or pointers would be appreciated.

NoNaMe
  • 6,020
  • 30
  • 82
  • 110
Flexo
  • 95
  • 2
  • 5
  • Are you using an https or ssh url? – VonC Oct 07 '15 at 04:50
  • Hi @VonC I am using http – Flexo Oct 07 '15 at 04:51
  • Would a git pull work in command line? If not, would any of the suggestions of http://stackoverflow.com/a/22317479/6309 work? – VonC Oct 07 '15 at 04:54
  • VS does not speak the old WebDAV protocol ("dumb http"). It only speaks the "smart http" protocol. Check out http://brakkee.org/site/2011/08/06/git-server-setup-on-linux-using-smart-http/ for example. – Edward Thomson Oct 07 '15 at 06:38

1 Answers1

3

For this 2015 question to be resolved in 2017 (for Morgan G), you should use a recent Git HTTP server, with a recent Visual Studio and a recent Git.

That is because:

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250