Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Git 2.9.0 Has Been Announced!

DZone's Guide to

Git 2.9.0 Has Been Announced!

The release of Git 2.9.0 was announced this week, and it brings with it some neat features—here are a few of the most exciting and interesting.

· Java Zone
Free Resource

Microservices! They are everywhere, or at least, the term is. When should you use a microservice architecture? What factors should be considered when making that decision? Do the benefits outweigh the costs? Why is everyone so excited about them, anyway?  Brought to you in partnership with IBM.

The release of Git 2.9.0 was announced this week, and it brings with it some neat features. There are plenty of features and fixes in the release's official changelog, but here are a few of the most exciting and interesting:

  • --compaction-heuristic is an experimental feature for diff that attempts to find logical "hunks" when changes are made (there's a good example here).

  • Rename detection, an old Git feature, is now enabled by default.

  • A new diff-highlight script allows individual changes within lines to be emphasized.

  • Mark-up for the top-level README.md now shows CLI commands as distinct from body text.

  • The jobs option, released in Git 2.8.0, is now available not just for fetching submodules, but for cloning or updating submodules.

  • Git no longer allows (by default) merging branches without a common base.

  • git log accounts for indentation in commit messages, which will now keep tables and other position-dependent ASCII properly aligned.

  • git rebase allows an -x option for full-branch testing.

  • Git now allows you to set CL config options for submodule fetches.

  • Hook scripts can now be configured to have custom paths, so keeping these scripts in one place for multiple repositories is now possible.

  • Git is now friendlier with Perforce with the git-p4 tool, which let's you use the Git client for a Perforce project by mapping P4 author names to Git author names.

  • git describe and its --contains option became more user-friendly, now finding the oldest tag containing the commit.

  • The commit.verbose configuration for git commit now acts the same as the CLI --verbose option.

  • make rpm support officially ended.

Check out the full release changelog to see if there are other changes up your alley. You can get the newest version from source at https://git-scm.com/downloadshttps://github.com/git/git/, or you can do git clone git://git.kernel.org/pub/scm/git/git.git.

Discover how the Watson team is further developing SDKs in Java, Node.js, Python, iOS, and Android to access these services and make programming easy. Brought to you in partnership with IBM.

Topics:
git ,version control ,release

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}