On Oct 5, 9:28 pm, Simon <slo...@gmail.com> wrote:

> I’m trying to put one of my repositories to another machine. I do
> that :
> git clone --bare test test.git
> scp -r test.git u...@host:~
> mv test test.old
> git clone ssh://u...@host/~/test.git

I'm not sure why later cloning the new repository fails, but I would
suggest using more sensible approach to putting the repository to
another machine in the first place:

$ ssh u...@host
% mkdir ~/test.git && cd ~/test.git && git init --bare
% logout
$ cd test
$ git remote add foo ssh://u...@host/~/test.git
$ git push --mirror foo

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-us...@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to