continue interrupted git clone

2,508 views
Skip to first unread message

benderamp

unread,
Dec 13, 2008, 5:49:10 AM12/13/08
to Repo and Gerrit Discussion
Hi,

I'm new to git, I have been trying to get kernel source code from git
repository with the command

git clone git://android.git.kernel.org/kernel/common.git

It has download a big part of it, but was interrupted. Now when I run
it again to get the rest part, I receive an error:

fatal: destination directory 'common' already exists.

Is there a way to get the rest source code without redownloading the
whole things again?

Shawn Pearce

unread,
Dec 15, 2008, 4:12:20 PM12/15/08
to repo-d...@googlegroups.com
No.  git clone cannot be restarted.  You'll need to rm -rf common, and then restart then clone from the beginning.

benderamp

unread,
Dec 17, 2008, 1:44:32 PM12/17/08
to Repo and Gerrit Discussion
Shawn Pearce wrote:
> No. git clone cannot be restarted. You'll need to rm -rf common, and then
> restart then clone from the beginning.
>

Thank's very much for info - it's my time saver. It is very hard to
find something when this does not exist.
Reply all
Reply to author
Forward
0 new messages