Announcement

Collapse
No announcement yet.

git clone

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    git clone

    Hi,

    i've installed a fresh kubuntu 19.04 and git clone doesn't work.

    I ran

    git clone https://github.com/creationix/nvm.git -b v0.34.0 --depth=1

    and I received

    fatal: unable to access 'https://github.com/creationix/nvm.git/': GnuTLS recv error (-54): Error in the pull function.

    I've tried to increase httpPost and disable sslVerify but with no success.

    github suggested me to recompile git, but I don't want to maintain the package, I'd like to use git from ubuntu repository.

    how can I solve this bug?

    I've also the KVM where i've tested a completly new installation: I can share it?

    #2
    I highly doubt that Ubuntu's git would not work for this, considering that they arguably probably have the most widely used Linux in the dev and server sphere, and I don't think it would be this way if everyone had to compile their own git

    My guess is that you may be missing something else. Did you install build-essential? This includes git, as well as a lot of core tools one would need.



    ......and I just tried it on my 19.04 system, and had no issue. Same on my 18.04 system:

    Code:
    gus@gus-HP-Compaq-Elite-8300-SFF:~$ git clone https://github.com/creationix/nvm.git -b v0.34.0 --depth=1
    Cloning into 'nvm'...
    remote: Enumerating objects: 278, done.
    remote: Counting objects: 100% (278/278), done.
    remote: Compressing objects: 100% (249/249), done.
    remote: Total 278 (delta 33), reused 88 (delta 16), pack-reused 0
    Receiving objects: 100% (278/278), 142.36 KiB | 4.91 MiB/s, done.
    Resolving deltas: 100% (33/33), done.
    Note: checking out '3d9c31d94488884e74ae1ba0d46bc6607bc74667'.
    
    You are in 'detached HEAD' state. You can look around, make experimental
    changes and commit them, and you can discard any commits you make in this
    state without impacting any branches by performing another checkout.
    
    If you want to create a new branch to retain commits you create, you may
    do so (now or later) by using -b with the checkout command again. Example:
    
      git checkout -b <new-branch-name>
    Same on my 18.04 system.

    Comment

    Working...
    X