Re: Error on git clone
- From
- Hocapito Cheteamo <hocapitocheteamo@yahoo.com>
- Date
- Oct 6, 2010, 08:50 UTC
- Message-ID
- <972161.65826.qm@web114601.mail.gq1.yahoo.com>
- In-Reply-To
- <4CAC31C4.5060809@viscovery.net>
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@github.com: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@viscovery.net> To: Hocapito Cheteamo <hocapitocheteamo@yahoo.com> Cc: git@vger.kernel.org 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@github.com: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@github.com:XXX/YYY.git git fetch git checkout -b master origin/master
Do you see any errors?
-- Hannes