Oliver Nassar

Checking out a local git repository

December 02, 2012

In the spirit of my post Checking out an SVN Repository from a local SVN Server, I wanted to jot down how to do so with git.

Yup:

git clone file:////<host>/<share>/<path>

Based on my write up of creating local repo's on your server, written in the post Creating a simple Git Server on Ubuntu 12.04, this would be:

git clone file:////srv/git/project.git

While I copied this directly from the Stack Overflow post GIT clone repo across local file system, I figured it would help me to find it easier if I wrote a post about it :)