Welcome to the Linux Foundation Forum!

13. GIT Fundamentals \\ Get the Linux Kernel \\ No repositories found

Get the Linux Kernel
Let’s use the clone subcommand to our own local copy of the kernel source:

$ git clone --depth 1 -b master \ https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git linux/

What is going wrong here, cannot proceed with the exercise?

Comments

  • luisviveropena
    luisviveropena Posts: 1,252
    edited August 13

    Hi @troy_dowler,

    I checked on the URL and it's working for me.

    Please try the command without the backslash, as here:

    ubuntu@master:~$ git clone --depth 1 -b master https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git linux/
    Cloning into 'linux'...
    remote: Enumerating objects: 90951, done.
    remote: Counting objects: 100% (90951/90951), done.
    remote: Compressing objects: 100% (88419/88419), done.
    remote: Total 90951 (delta 7067), reused 19225 (delta 1592), pack-reused 0
    Receiving objects: 100% (90951/90951), 255.17 MiB | 2.18 MiB/s, done.
    Resolving deltas: 100% (7067/7067), done.
    Updating files: 100% (85802/85802), done.

    Regards,
    Luis.

  • thanks! that worked.

  • luisviveropena
    luisviveropena Posts: 1,252

    That's good! It's a pleasure :)

    Luis.

Categories

Upcoming Training