Skip to content

Instantly share code, notes, and snippets.

@CristianLlanos
Created October 2, 2016 00:17
Show Gist options
  • Select an option

  • Save CristianLlanos/592d51c68b6c9c69583eec5570a5fb53 to your computer and use it in GitHub Desktop.

Select an option

Save CristianLlanos/592d51c68b6c9c69583eec5570a5fb53 to your computer and use it in GitHub Desktop.

Revisions

  1. CristianLlanos created this gist Oct 2, 2016.
    23 changes: 23 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,23 @@
    You need to add the Git Maintainers repository in order to get the latest Git version.

    Please run these commands in order:

    ```bash
    sudo add-apt-repository ppa:git-core/ppa
    sudo apt-get update
    sudo apt-get install git
    ```

    Then, check the version of the installed Git:

    ```bash
    git --version
    ```

    It's not always necessary to remove the existing Git before upgrading it, but if you run into any problems, do the following and then repeat the steps mentioned above:

    ```bash
    sudo apt-get remove git
    ```

    [Resource](http://askubuntu.com/a/579591)