git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Error on git clone

From
HCHocapito 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
      
Previous: Johannes SixtNext: Sverre Rabbelier
Message 5 of 6 in “Error on git clone”
  1. Hocapito CheteamoOct 6, 2010
  2. Johannes SixtOct 6, 2010
  3. Hocapito CheteamoOct 6, 2010
  4. Johannes SixtOct 6, 2010
  5. Hocapito CheteamoOct 6, 2010
  6. Sverre RabbelierOct 6, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.