Git project released Git 2.19 earlier this week (September 10th, 2018).
Git 2.19 brings more Python 3 compatibility work for git p4, a rewritten git submodule now implemented in C. Git Instaweb works better with newer versions of Apache. It also has a git range-diff feature, new capabilities in git grep, branch sorting changes, and a variety of other additions.
Developers previously used the git rebase to rewrite history and polish their commits before making them public. git diff shows the difference between the two end states, but it doesn’t provide information about any of the individual commits.
This version includes git range-diff, a tool for comparing two sequences of commits, including changes to their order, commit messages, and the actual content changes they introduce.
In Git 2.19 you can now locate the first matching column of your query with git grep –column.
git grep also learned the new –only-matching option. This is useful if you have a non-trivial regular expression and want to gather only the matching parts of your search.
The content-transfer-encoding of the message “git send-email” sends out by default was 8bit, which can cause trouble when there is an overlong line to bust RFC 5322/2822 limit. A new option ‘auto’ to automatically switch to quoted-printable when there is such a line in the payload has been introduced and is made the default.
The git branch command, like git tag (and their scriptable counterpart, git for-each-ref), takes a –sort option to let you order the results by a number of properties. To show branches in the order of most recent update, you could use git branch –sort=-authordate. However, if you always prefer that order, typing that sort option can get tiresome.
This version introduces the branch.sort config to set the default ordering of git branch. By default, git branch sorts by refname, hence master is first and newest is last.
The other sorting options include:
Read the complete updates and improvements in the Git 2.19 release notes.
Microsoft announces Azure DevOps, makes Azure pipelines available on GitHub Marketplace
Packt’s GitHub portal hits 2,000 repositories
GitHub parts ways with JQuery, adopts Vanilla JS for its frontend
I remember deciding to pursue my first IT certification, the CompTIA A+. I had signed…
Key takeaways The transformer architecture has proved to be revolutionary in outperforming the classical RNN…
Once we learn how to deploy an Ubuntu server, how to manage users, and how…
Key-takeaways: Clean code isn’t just a nice thing to have or a luxury in software projects; it's a necessity. If we…
While developing a web application, or setting dynamic pages and meta tags we need to deal with…
Software architecture is one of the most discussed topics in the software industry today, and…