Company
Date Published
Author
Taylor Blau
Word count
2006
Language
English
Hacker News points
None

Summary

Git 2.22 introduces a range of new features and improvements contributed by over 74 developers, including 18 new contributors. Among the highlights, the update enhances the interactive rebase process with the introduction of the --rebase-merges option, which preserves the branching structure while allowing full interactivity. It also simplifies the creation of branches from merge bases using the triple-dot syntax and introduces the git branch --show-current command for easily identifying the current branch. Additionally, the update improves checkout behavior with the --no-overlay option and enhances the consistency of command-line options parsing through the parse-options API. Git 2.22 also introduces the Trace2 tracing mechanism for performance and telemetry data and refines directory rename detection. Furthermore, bisect now provides more informative output with a full --stat diff, and reachability bitmaps are generated by default in bare repositories to speed up fetch operations.