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.
This way you can save yourself the setup with the remote origin etc.
Also when you clone from remote be aware of the full syntax when using ssh:
"git clone --bare <user>@<host>:/your/remote/folder/repo.git"
If your NAS is locally mounted then you can ommit the <user> and <host>.
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To view this discussion on the web visit
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to
For more options, visit this group at