Sunday, December 18, 2016

How to Install Git 2.11.0 Released on Ubuntu 16.10, 16.04

 Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

Git is easy to learn and has a tiny footprint with lightning fast performance. It outclasses SCM tools like Subversion, CVS, Perforce, and ClearCase with features like cheap local branching, convenient staging areas, and multiple workflows.


Git 2.11 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.
Installation instructions:

    Run the following commands in Terminal to install Git on Ubuntu:

$ 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



No comments:

Post a Comment