Ubuntu update git source, login without password

Time:2021-6-8

The GIT version of Ubuntu is lower than the latest git version, which will cause a series of problems

  1. Add software source:

    sudo add-apt-repository ppa:git-core/ppa

  2. Update installation list:

    sudo apt-get update

  3. Upgrade git:

    sudo apt-get install git

  4. Get version:

    git –version

  5. You don’t need to enter the password each time to get the code:

    git config –global credential.helper store