I don't need to check the repository out, just have a copy on my NAS
for safe keeping.

I can do it using a network drive, but that just feels a bit wrong.
I'm sure SSH should work, but I can work out why.

I may fall back to using the network drive if there is no other



On Jan 1, 7:45 pm, Chris Stone <nightshade1...@gmail.com> wrote:
> If the network drive is mounted under projects you should be able to git
> clone <path to local repo> <folder name you want report cloned into> if you
> leave the second folder out it will default to report name. Also the --bare
> Camden opt will not check out a working copy it will transfer the contents
> of the .git folder to the network drive
> Hope this helps with your issue
> On Jan 1, 2012 12:32 PM, "Newt" <new...@blueyonder.co.uk> wrote:
> > Hi,
> > I'm a bit confused with using remote repositories.
> > I've got a local repository set up. I'm now trying to clone it onto a
> > network drive.
> > So locally, I've done:
> > cd ~/projects
> > I've then tried:
> > git clone --bare ./cal2 ssh://<ip address>/volume1/depot/cal2.git
> > However, all this does is create a new folder in ./cal2 called ssh:
> > and then creates directories beneath it. That's not what I want. What
> > am I doing wrong...
> > Cheers,
> > N.

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to