Git 2.11 Released; How To Install Git On Ubuntu Linux

  • 2 min read
  • Dec 02, 2016

Git 2.11 Version Control System released. here’s how to install Git on Ubuntu 16.10 and Ubuntu 16.04 Systems. Git 2.11 Project Management Tool brings features and bugfixes from over 70 contributors.

Some of the most interesting new features are:

  • Git 2.11 now works on abbreviated SHA-1 names. It prints longer abbreviated SHA-1 names and has better tools for dealing with ambiguous short SHA-1s. Git 2.11 version ships with more performance optimizations tweaks. Git 2.11 is faster at accessing delta chains in its object database, which should improve the performance of many common operations.
  • Git 2.11 speeds up the computation of “patch IDs”, which are used heavily by git rebase. Patch IDs are a fingerprint of the changes made by a single commit. Patch ID computation now avoids both merge commits and renames, improving the runtime of the duplicate check by a factor of 50 in some cases.
  • Git 2.11 brings advanced filter processes. It includes a “filter” mechanism which can be used to convert file contents to and from a local filesystem representation. It also adds a second, slightly more complex protocol that can filter many files with a single process. This can reportedly improve checkout times with many Git LFS objects by as much as a factor of 80.
  • Git 2.11 has an improved diff algorithm to make the results easier to read. It covers more cases and does not have any regressions.
  • There’s now a credential helper in contrib/ that can use GNOME libsecret to store your Git passwords.
  • The git diff command now understands –submodule=diff (as well as setting the diff.submodule config to diff), which will show changes to submodules as an actual patch between the two submodule states.
  • The git status has a new machine-readable output format that is easier to parse and contains more information. Check it out if you’re interested in scripting around Git.
  • Work has continued on converting some of Git’s shell scripts to C programs. This can drastically improve performance on platforms where extra processes are expensive (like Windows), especially in programs that may invoke sub-programs in a loop.

Install GIT

Ubuntu users can install Git via PPA repository. Run the following commands in Terminal to install Git on Ubuntu:

sudo apt-get update
sudo apt-get install build-essential libssl-dev libcurl4-gnutls-dev libexpat1-dev gettext unzip
sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git

Once installed, check GIT version using the following command.

git --version

More Info:

Git 2.11 Released; How To Install Git On Ubuntu Linux originally posted on Source Digit – Latest Technology, Gadgets & Gizmos.

Related Post :

Leave a Reply

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