Re: Problem in Getting Mainline Kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 4, 2014 at 10:21 AM, Freeman Zhang
<freeman.zhang1992@xxxxxxxxx> wrote:
> Hi list,
>
> I cloned it for nearly 30 hours due to the poor connection :( How I wish
> the cloning process is resumable.
>
> Finally I cloned the mainline kernel from
> "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git".
> However, when I'm looking at the git directory, I got nothing but:
>
>         .   ..  arch  .DS_Store  .git  .gitignore  .mailmap
>
> I'm confused. I thought it would be like this:
>
>         arch           include      mm               security
>         block          init         modules.builtin  sound
>         COPYING        ipc          modules.order    System.map
>         CREDITS        Kbuild       Module.symvers   tools
>         crypto         Kconfig      net              usr
>         Documentation  kernel       README           virt
>         drivers        lib          REPORTING-BUGS   vmlinux
>         firmware       MAINTAINERS  samples          vmlinux.o
>         fs             Makefile     scripts
>
> Is my clone broken? I ran `git pull` and it said the clone is
> up-to-date. And the size of .git directory is over 1 GB.

What does 'git status' give you?
If you have not modified anything try running `git reset --hard HEAD`
it will restore all changes made in the repository.

Regards

> Now I'm using `tar.xz` from kernel.org and it works just fine. But I
> still want to know what I should do with my git clone.
>
>
> All the best!
>
> Freeman Zhang
>
>
>
>
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@xxxxxxxxxxxxxxxxx
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>



-- 
Simplicity is the ultimate sophistication

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux