threads / discuss / 25364

Error on git clone

Subject: Error on git clone

## tl;dr

6 messages between Oct 6, 2010 and Oct 6, 2010.

replies: 5people: 3as markdown or json

Hocapito Cheteamo· Oct 6, 2010, 04:20 UTC · lore
Hi,
I'm a newbie on using git. I installed Git 1.7.0.2 on my PC laptop running 
Windows XP Prof. SP 2.  When I run the command,
    "git clone git@github.com:......git sss", 
I got these log messages:

Initialized empty Git repository in c:/...../.git/ Enter passphrase for key 'C:\.....\privateKey': remote: Counting objects: 478, done. remote: Compressing objects: 100% (303/303), done. remote: Total 478 (delta 21), reused 436 (delta 3) Receiving objects: 100% (478/478), 96.57 MiB | 148 KiB/s, done. Resolving deltas: 100% (21/21), done. tagging': Invalid argumenttory at 'public/images/tagging

Does anyone have any clue on what this "Invalid argumenttory" error is all about? It did not finish unpacking all the files in folder sss. It aborted after this error. Thanks so much for the help.

Hoca.
      
Johannes Sixt· Oct 6, 2010, 06:35 UTC · re: Hocapito Cheteamo · lore

Re: Error on git clone

Am 10/6/2010 6:20, schrieb Hocapito Cheteamo:
Show 6 quoted lines
> Hi,
> 
> I'm a newbie on using git. I installed Git 1.7.0.2 on my PC laptop running 
> Windows XP Prof. SP 2.  When I run the command,
>     "git clone git@github.com:......git sss", 
> I got these log messages:
You didn't show the command that you used.
Show 12 quoted lines
> Initialized empty Git repository in c:/...../.git/
> Enter passphrase for key 'C:\.....\privateKey':
> remote: Counting objects: 478, done.
> remote: Compressing objects: 100% (303/303), done.
> remote: Total 478 (delta 21), reused 436 (delta 3)
> Receiving objects: 100% (478/478), 96.57 MiB | 148 KiB/s, done.
> Resolving deltas: 100% (21/21), done.
> tagging': Invalid argumenttory at 'public/images/tagging
> 
> Does anyone have any clue on what this "Invalid argumenttory" error is all 
> about?  It did not finish unpacking all the files in folder sss.  It aborted 
> after this error.  Thanks so much for the help.

The error is "Invalid argument" and was printed over a line that said something about a "repository". Can you reproduce the problem?

-- Hannes
Hocapito Cheteamo· Oct 6, 2010, 08:13 UTC · re: Johannes Sixt · lore

Re: Error on git clone

Hi Hannes,
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.
The additional log messages from -v option do not help much.  (See below)
To prevent the print over of the log messages, do you think I could use
1. any other option on git clone;
2. redirect the log messages to a file; or 
3. pipe them into a tee command?

Or do you have any suggestion on how to prevent the print over of the log messages?

Thanks so much again. Hoca

$ git clone -v git@github.com:XXX/YYY.git sss Initialized empty Git repository in c:/.../.git/ Enter passphrase for key 'C:\.....\privateKey': Server supports multi_ack_detailed Server supports side-band-64k Server supports ofs-delta want 713.....8ef (refs/heads/master) done remote: Counting objects: 478, done. remote: Compressing objects: 100% (303/303), done. remote: Total 478 (delta 21), reused 436 (delta 3) Receiving objects: 100% (478/478), 96.57 MiB | 156 KiB/s, done. Resolving deltas: 100% (21/21), done. tagging': Invalid argumenttory at 'public/images/tagging

----- Original Message ----
From: Johannes Sixt <j.sixt@viscovery.net>
To: Hocapito Cheteamo <hocapitocheteamo@yahoo.com>
Cc: git@vger.kernel.org
Sent: Tue, October 5, 2010 10:35:51 PM
Subject: Re: Error on git clone
Am 10/6/2010 6:20, schrieb Hocapito Cheteamo:
Show 6 quoted lines
> Hi,
> 
> I'm a newbie on using git. I installed Git 1.7.0.2 on my PC laptop running 
> Windows XP Prof. SP 2.  When I run the command,
>     "git clone git@github.com:......git sss", 
> I got these log messages:
You didn't show the command that you used.
Show 12 quoted lines
> Initialized empty Git repository in c:/...../.git/
> Enter passphrase for key 'C:\.....\privateKey':
> remote: Counting objects: 478, done.
> remote: Compressing objects: 100% (303/303), done.
> remote: Total 478 (delta 21), reused 436 (delta 3)
> Receiving objects: 100% (478/478), 96.57 MiB | 148 KiB/s, done.
> Resolving deltas: 100% (21/21), done.
> tagging': Invalid argumenttory at 'public/images/tagging
> 
> Does anyone have any clue on what this "Invalid argumenttory" error is all 
> about?  It did not finish unpacking all the files in folder sss.  It aborted 
> after this error.  Thanks so much for the help.

The error is "Invalid argument" and was printed over a line that said something about a "repository". Can you reproduce the problem?

-- Hannes
      
Johannes Sixt· Oct 6, 2010, 08:22 UTC · re: Hocapito Cheteamo · lore

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
Hocapito Cheteamo· Oct 6, 2010, 08:50 UTC · re: Johannes Sixt · lore

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
      
Sverre Rabbelier· Oct 6, 2010, 08:55 UTC · re: Hocapito Cheteamo · lore

Re: Error on git clone

Heya,

On Wed, Oct 6, 2010 at 10:50, Hocapito Cheteamo <hocapitocheteamo@yahoo.com> wrote:

> So I did what you suggested:
Please use 'git init sss3' instead.
> mkdir sss3
> cd sss3
Or you can of course run 'git init' here.
> 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
-- 
Cheers,

Sverre Rabbelier

← back to recent threads