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, 10:34 UTC
Message-ID
<571212.33119.qm@web114615.mail.gq1.yahoo.com>

Thanks to Sverre Rabbelier who reminded me to do a 'git init' to get rid of that "Not a git repository' error. So I did:

$ mkdir sss3
$ cd sss3
$ git init
$ git remote add origin git@github.com:XXX/YYY.git
$ git fetch
Enter passphrase for key 'C:\.....\privateKey':
remote: Counting objects: 478, done.
remote: Compressing objects: 100% (303/303), done.
Receiving objects: 100% (478/478), 96.57 MiB | 166 KiB/s, done.
Resolving deltas: 100% (21/21), done.
From github.com:XXX/YYY
 * [new branch]      master     -> origin/master
$ git checkout -b master origin/master
Checking out files: 43%
tagging': Invalid argumenttory at 'public/images/tagging

I'm still getting the same print over error messages. Thanks for any help that might help me to resolve this perplexing problem. Hoca

----- Original Message ----
From: Hocapito Cheteamo <hocapitocheteamo@yahoo.com>
To: Johannes Sixt <j.sixt@viscovery.net>
Cc: git@vger.kernel.org
Sent: Wed, October 6, 2010 12:50:13 AM
Subject: Re: Error on git clone
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
      
Next: Johannes Sixt
Message 1 of 3 in “Re: Error on git clone”
  1. Hocapito CheteamoOct 6, 2010
  2. Johannes SixtOct 6, 2010
  3. Hocapito CheteamoOct 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.