Error on git clone
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 [email protected]:......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.
Am 10/6/2010 6:20, schrieb Hocapito Cheteamo:
Quoted 6 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 [email protected]:......git sss",I got these log messages:
You didn't show the command that you used.
Quoted 9 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
Quoted 3 lines
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
Hi Hannes,
I could consistently reproduce the problem. The command that I used is:
git clone -v [email protected]: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 [email protected]: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 <[email protected]>
To: Hocapito Cheteamo <[email protected]>
Cc: [email protected]
Sent: Tue, October 5, 2010 10:35:51 PM
Subject: Re: Error on git clone
Am 10/6/2010 6:20, schrieb Hocapito Cheteamo:
Quoted 6 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 [email protected]:......git sss",I got these log messages:
You didn't show the command that you used.
Quoted 9 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
Quoted 3 lines
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
Am 10/6/2010 10:13, schrieb Hocapito Cheteamo:
Quoted 3 lines
I could consistently reproduce the problem. The command that I used is:
git clone -v [email protected]: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 [email protected]:XXX/YYY.git
git fetch
git checkout -b master origin/master
Do you see any errors?
-- Hannes
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 [email protected]: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 <[email protected]>
To: Hocapito Cheteamo <[email protected]>
Cc: [email protected]
Sent: Wed, October 6, 2010 12:22:28 AM
Subject: Re: Error on git clone
Am 10/6/2010 10:13, schrieb Hocapito Cheteamo:
Quoted 3 lines
I could consistently reproduce the problem. The command that I used is:
git clone -v [email protected]: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 [email protected]:XXX/YYY.git
git fetch
git checkout -b master origin/master
Do you see any errors?
-- Hannes
Heya,
Quoted 1 line · Hocapito Cheteamo
So I did what you suggested:
Please use 'git init sss3' instead.
Quoted 2 lines
mkdir sss3
cd sss3
Or you can of course run 'git init' here.
Quoted 4 lines
git remote add origin [email protected]:XXX/YYY.git
Then an error occurs:
fatal: Not a git repository (or any of the parent directories): .git
Signature · 3 lines
Cheers, Sverre Rabbelier