[git-users] Re: Remote Repositrories

2012-01-12 Thread tombert
What you are trying to do is cloning TO a remote repository. git clone --bare ./cal2 ssh://ip address/volume1/depot/cal2.git I don't think that works ... however the normal approach is to clone FROM a remote repository. So first init the repo on your NAS, then clone to your local directory.

[git-users] Re: Remote Repositrories

2012-01-01 Thread Newt
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 advice. Cheers. N. On

Re: [git-users] Re: Remote Repositrories

2012-01-01 Thread Chris Stone
You would need to have the git installed on the NAS and the git daemon configured for ssh. You would then have to setup the NAS repository as a remote in your local git repository so you can git push your changes to the backup Assuming git is configured on the NAS I would do something like this

[git-users] Re: Remote Repositrories

2012-01-01 Thread Newt
I thought I had got all of that set up. It's the path to repository part that doesn't seem to work. I've tried using the shared drive approach as well. That gives me a different set of issues. The command to clone the repository gives: $ git clone ~/projects/collection collection.git Cloning