Hello Linux Geeksters. As you may know, Git is an open-source revision control system. The latest version available is Git 2.3.1, which has been recently released, coming with a lot of changes and enhancements.
- The interactive “show a list and let the user choose from it” interface “add -i” used showed and prompted to the user even when the candidate list was empty, against which the only “choice” the user could have made was to choose nothing.
- “git apply –whitespace=fix” used to under-allocate the memory when the fix resulted in a longer text than the original patch.
- “git log –help” used to show rev-list options that are irrelevant to the “log” command.
- The error message from “git commit”, when a non-existing author name was given as value to the “–author=” parameter, has been reworded to avoid misunderstanding.
- A broken pack .idx file in the receiving repository prevented the dumb http transport from fetching a good copy of it from the other side.
- The documentation incorrectly said that C(opy) and R(ename) are the only ones that can be followed by the score number in the output in the –raw format.
- Fix a misspelled conditional that is always true.
- Code to read branch name from various files in .git/ directory would have misbehaved if the code to write them left an empty file.
- The “git push” documentation made the “–repo=” option easily misunderstood.
- After attempting and failing a password-less authentication (e.g. kerberos), libcURL refuses to fall back to password based
- Basic authentication without a bit of help/encouragement.
- Setting diff.submodule to ‘log’ made “git format-patch” produce broken patches.
- “git rerere” (invoked internally from many mergy operations) did not correctly signal errors when told to update the working tree files and failed to do so for whatever reason.
- “git blame HEAD — missing” failed to correctly say “HEAD” when it tried to say “No such path ‘missing’ in HEAD”.
For information about this release, see the mailing lists.
In this article I will show you how to install Git 2.3.1 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.0 and other Ubuntu derivative systems.
Because it is available via PPA, installing Git 2.3.1 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.1, do:
$ sudo apt-get remove git