git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Error on git clone
@ 2010-10-06  4:20 Hocapito Cheteamo
  2010-10-06  6:35 ` Johannes Sixt
  0 siblings, 1 reply; 9+ messages in thread
From: Hocapito Cheteamo @ 2010-10-06  4:20 UTC (permalink / raw)
  To: git

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.


      

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Error on git clone
  2010-10-06  4:20 Hocapito Cheteamo
@ 2010-10-06  6:35 ` Johannes Sixt
  2010-10-06  8:13   ` Hocapito Cheteamo
  0 siblings, 1 reply; 9+ messages in thread
From: Johannes Sixt @ 2010-10-06  6:35 UTC (permalink / raw)
  To: Hocapito Cheteamo; +Cc: git

Am 10/6/2010 6:20, schrieb Hocapito Cheteamo:
> 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.

> 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Error on git clone
  2010-10-06  6:35 ` Johannes Sixt
@ 2010-10-06  8:13   ` Hocapito Cheteamo
  2010-10-06  8:22     ` Johannes Sixt
  0 siblings, 1 reply; 9+ messages in thread
From: Hocapito Cheteamo @ 2010-10-06  8:13 UTC (permalink / raw)
  To: Johannes Sixt; +Cc: git

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:
> 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.

> 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



      

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Error on git clone
  2010-10-06  8:13   ` Hocapito Cheteamo
@ 2010-10-06  8:22     ` Johannes Sixt
  2010-10-06  8:50       ` Hocapito Cheteamo
  0 siblings, 1 reply; 9+ messages in thread
From: Johannes Sixt @ 2010-10-06  8:22 UTC (permalink / raw)
  To: Hocapito Cheteamo; +Cc: git

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Error on git clone
  2010-10-06  8:22     ` Johannes Sixt
@ 2010-10-06  8:50       ` Hocapito Cheteamo
  2010-10-06  8:55         ` Sverre Rabbelier
  0 siblings, 1 reply; 9+ messages in thread
From: Hocapito Cheteamo @ 2010-10-06  8:50 UTC (permalink / raw)
  To: Johannes Sixt; +Cc: git


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



      

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Error on git clone
  2010-10-06  8:50       ` Hocapito Cheteamo
@ 2010-10-06  8:55         ` Sverre Rabbelier
  0 siblings, 0 replies; 9+ messages in thread
From: Sverre Rabbelier @ 2010-10-06  8:55 UTC (permalink / raw)
  To: Hocapito Cheteamo; +Cc: Johannes Sixt, git

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Error on git clone
@ 2010-10-06 10:34 Hocapito Cheteamo
  2010-10-06 10:51 ` Johannes Sixt
  0 siblings, 1 reply; 9+ messages in thread
From: Hocapito Cheteamo @ 2010-10-06 10:34 UTC (permalink / raw)
  To: Johannes Sixt; +Cc: git, Sverre Rabbelier


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


      

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Error on git clone
  2010-10-06 10:34 Error on git clone Hocapito Cheteamo
@ 2010-10-06 10:51 ` Johannes Sixt
  2010-10-06 18:22   ` Hocapito Cheteamo
  0 siblings, 1 reply; 9+ messages in thread
From: Johannes Sixt @ 2010-10-06 10:51 UTC (permalink / raw)
  To: Hocapito Cheteamo; +Cc: git, Sverre Rabbelier

Am 10/6/2010 12:34, schrieb Hocapito Cheteamo:
> $ 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

Ok, download works as expected. You don't have to repeat these steps
anymore. Keep a copy of sss3\.git around so that you can go back to this
state when necessary.

> $ git checkout -b master origin/master
> Checking out files: 43%
> tagging': Invalid argumenttory at 'public/images/tagging

The error message is this one:

cannot create directory at '%s'

Do you have a file/directory with a CR in it? When you run this:

 git -p ls-tree -r origin/master

and look for public/images, do you see this:

"public/images/tagging\rtagging"

(including the double-quotes)? If so, ask your upstream to fix the
repository; you can't checkout the data as is on Windows.

Alternatively, you could use a sparse checkout that excludes the
questionable file. Read "Sparse checkout" in
http://www.kernel.org/pub/software/scm/git/docs/git-read-tree.html

-- Hannes

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Error on git clone
  2010-10-06 10:51 ` Johannes Sixt
@ 2010-10-06 18:22   ` Hocapito Cheteamo
  0 siblings, 0 replies; 9+ messages in thread
From: Hocapito Cheteamo @ 2010-10-06 18:22 UTC (permalink / raw)
  To: Johannes Sixt; +Cc: git, Sverre Rabbelier

Hi Hannes,

As you have expected, when I run that command,
    git -p ls-tree -r origin/master > lll.txt
and redirect it to a log file, the log file does show some lines that have:
    "public/images/tagging\rtagging/title_add_tags_to.png"

THANK YOU SO VERY MUCH for helping me in resolving the problem that I have 
encountered with the git clone command on my PC Windows XP system.  I'll 
definitely ask my upstream to fix the
repository on that 'CR'.  I'll also take a look at that "sparse checkout" that 
you have mentioned.

Again, a big thank you for solving this perplexing problem, especially with the 
print over log messages.  You rock!!!
Hoca




----- Original Message ----
From: Johannes Sixt <j.sixt@viscovery.net>
To: Hocapito Cheteamo <hocapitocheteamo@yahoo.com>
Cc: git@vger.kernel.org; Sverre Rabbelier <srabbelier@gmail.com>
Sent: Wed, October 6, 2010 2:51:55 AM
Subject: Re: Error on git clone

Am 10/6/2010 12:34, schrieb Hocapito Cheteamo:
> $ 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

Ok, download works as expected. You don't have to repeat these steps
anymore. Keep a copy of sss3\.git around so that you can go back to this
state when necessary.

> $ git checkout -b master origin/master
> Checking out files: 43%
> tagging': Invalid argumenttory at 'public/images/tagging

The error message is this one:

cannot create directory at '%s'

Do you have a file/directory with a CR in it? When you run this:

git -p ls-tree -r origin/master

and look for public/images, do you see this:

"public/images/tagging\rtagging"

(including the double-quotes)? If so, ask your upstream to fix the
repository; you can't checkout the data as is on Windows.

Alternatively, you could use a sparse checkout that excludes the
questionable file. Read "Sparse checkout" in
http://www.kernel.org/pub/software/scm/git/docs/git-read-tree.html

-- Hannes



      

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-10-06 18:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-06 10:34 Error on git clone Hocapito Cheteamo
2010-10-06 10:51 ` Johannes Sixt
2010-10-06 18:22   ` Hocapito Cheteamo
  -- strict thread matches above, loose matches on Subject: below --
2010-10-06  4:20 Hocapito Cheteamo
2010-10-06  6:35 ` Johannes Sixt
2010-10-06  8:13   ` Hocapito Cheteamo
2010-10-06  8:22     ` Johannes Sixt
2010-10-06  8:50       ` Hocapito Cheteamo
2010-10-06  8:55         ` Sverre Rabbelier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).