The release of the version control system Git 2.22.0 is presented. Git is one of the most popular, reliable and high-performance version control systems, providing flexible non-linear development tools based on branching and merging branches.
Compared to the previous release, 745 changes were made to the new version, prepared with by of 74 developers, of which 18 took part in the development for the first time. Major innovations:
- New transfer mode for the commit set "git rebase --rebase-merges" available since release 1.18 replaced with old option "--preserve-merges", which is now marked obsolete.
- Support for creating a new branch based on the result of determining the merge base of two other branches (merge base, linking to a common ancestor) using the "git branch new A ... B" and "git checkout -b new A ... B" constructs, in which "A ... B" implies the definition of a merge base between two specified commits, similar to the way "git checkout A ... B" shifts HEAD to the base commit and "diff A ... B" shows the changes between with commit "B" and common with commit "A" ancestor has been added.
- "git branch --show-current" added to display the name of the branch obtained during the checkout operation;
Get more info at Github and official Github's blog.