Re: [git-users] Re: quick git repo set up

2012-11-22 Thread Martin Møller Skarbiniks Pedersen
On 22 November 2012 22:35, Konstantin Khomoutov
 wrote:
> On Thu, Nov 22, 2012 at 01:29:15PM -0800, ankit sachan wrote:
>
>> Thanks a ton for such a quick response! I just tried what you said. It's
>> the same, it just says "cloning into myrepo .. " and hangs indefinitely. I
>> have verified that i can scp and ssh to the server as well using a
>> password. Just can't think of any other problem!!

It should not say "cloning into myrepo". Does myrepo already exist on
your windows machine ? It should not.

Please post the exact commands you are writing and the exact output.
Here are my steps and my output from a similiar operation:

$ git clone tusk@:myrepo
Initialized empty Git repository in /home/tusk/myrepo/.git/
warning: You appear to have cloned an empty repository.

-- 




Re: [git-users] Re: quick git repo set up

2012-11-22 Thread Konstantin Khomoutov
On Thu, Nov 22, 2012 at 01:29:15PM -0800, ankit sachan wrote:

> Thanks a ton for such a quick response! I just tried what you said. It's 
> the same, it just says "cloning into myrepo .. " and hangs indefinitely. I 
> have verified that i can scp and ssh to the server as well using a 
> password. Just can't think of any other problem!! 

Isn't this because it's actually asked you for the password, but since a
call to SSH is scripted, you never see the prompt?

You could take the usual approach and use pubkey-based SSH authentication
(as used on github and everywhere else).

--