Re: Error on git clone

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yes, this is with "Git for Windows" (a Git Bash Shell window).

So I did what you suggested:

mkdir sss3
cd sss3
git remote add origin git@xxxxxxxxxx:XXX/YYY.git

Then an error occurs:
fatal: Not a git repository (or any of the parent directories): .git

Any thoughts?

Thanks.
Hoca




----- Original Message ----
From: Johannes Sixt <j.sixt@xxxxxxxxxxxxx>
To: Hocapito Cheteamo <hocapitocheteamo@xxxxxxxxx>
Cc: git@xxxxxxxxxxxxxxx
Sent: Wed, October 6, 2010 12:22:28 AM
Subject: Re: Error on git clone

Am 10/6/2010 10:13, schrieb Hocapito Cheteamo:
> I could consistently reproduce the problem.  The command that I used is:
>     git clone -v git@xxxxxxxxxx:XXX/YYY.git sss
> where XXX & YYY are replaced with the actual data.

Just to make sure: This is with "Git for Windows", not Cygwin's git?

Do the clone in separate the steps:

mkdir sss
cd sss
git remote add origin git@xxxxxxxxxx:XXX/YYY.git
git fetch
git checkout -b master origin/master

Do you see any errors?

-- Hannes



      
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]