Hello Linux Geeksters. As you may know, Git is an open-source revision control system. The latest version available is Git 2.3.4, which has been recently released, coming with the below changes and fixes:
- The ‘color.status.unmerged’ configuration was not described.
- “git log –decorate” did not reset colors correctly around the branch names.
- “git -C ” subcmd” refused to work in the current directory, unlike
- “cd ”” which silently behaves as a no-op.
- “git imap-send” learned to optionally talk with an IMAP server via libcURL; because there is no other option when Git is built with NO_OPENSSL option, use that codepath by default under such configuration.
- A workaround for certain build of GPG that triggered false breakage in a test has been added.
- “git rebase -i” recently started to include the number of commits in the insn sheet to be processed, but on a platform that prepends leading whitespaces to “wc -l” output, the numbers are shown with extra whitespaces that aren’t necessary.
- We did not parse username followed by literal IPv6 address in SSH transport URLs, e.g. ssh://user@[2001:db8::1]:22/repo.git correctly.
For information about this release, see the mailing lists.
In this article I will show you how to install Git 2.3.4 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.4 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 2.3.4, do:
$ sudo apt-get remove git