How To Install Git 2.3.5 On Ubuntu 15.04, Ubuntu 14.10, Ubuntu 14.04, Ubuntu 12.04 And Derivative Systems

Hello Linux Geeksters. As you may know, Git is an open-source revision control system. The latest version available is Git 2.3.5, which has been recently released, coming with the below changes and fixes:

  • The prompt script (in contrib/) did not show the untracked sign when working in a subdirectory without any untracked files.
  • Even though “git grep –quiet” is run merely to ask for the exit status, we spawned the pager regardless. Stop doing that.
  • Recommend format-patch and send-email for those who want to submit patches to this project.
  • An failure early in the “git clone” that started creating the working tree and repository could have resulted in some directories and files left without getting cleaned up.
  • “git fetch” that fetches a commit using the allow-tip-sha1-in-want extension could have failed to fetch all the requested refs.
  • The split-index mode introduced at v2.3.0-rc0~41 was broken in the codepath to protect us against a broken reimplementation of Git that writes an invalid index with duplicated index entries, etc.
  • “git prune” used to largely ignore broken refs when deciding which objects are still being used, which could spread an existing small damage and make it a larger one.
  • “git tag -h” used to show the “–column” and “–sort” options that are about listing in a wrong section.
  • The transfer.hiderefs support did not quite work for smart-http transport.
  • The code that reads from the ctags file in the completion script (in contrib/) did not spell ${param/pattern/string} substitution correctly, which happened to work with bash but not with zsh.
  • The explanation on “rebase –preserve-merges”, “pull –rebase=preserve”, and “push –force-with-lease” in the documentation was unclear.

For information about this release, see the release notes.

In this article I will show you how to install Git 2.3.5 on Ubuntu 15.04 Vivid Vervet, Ubuntu 14.10 Utopic Unicorn, Ubuntu 14.04 Trusty Tahr, Ubuntu 12.04 Precise Pangolin, Linux Mint 17.1 Rebecca, Linux Mint 17 Qiana, Linux Mint 13 Maya, Pinguy OS 14.04, Elementary OS 0.3 Freya, Elementary OS 0.2 Luna, LXLE 14.04, Peppermint Five, Deepin 2014, Linux Lite 2 and other Ubuntu derivative systems.

Because it is available via PPA, installing Git 2.3.5 on Ubuntu 15.04, Ubuntu 14.10, Ubuntu 14.10, Ubuntu 14.04, Ubuntu 12.04 and derivative systems is easy. All you have to do is add the ppa to your system, update the local repository index and install the git package. Like this:

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

Optional, to remove Git, do:

$ sudo apt-get remove git

Share and Enjoy

  • Twitter
  • Facebook
  • Google Plus
  • Email
  • RSS
Tagged with: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Posted in The Linux and Unix Articles!

Leave a Reply

Your email address will not be published. Required fields are marked *

*