Git 2.54 Released With New Experimental "git history" Command
([Programming] 5 Hours Ago
Git 2.54)
- Reference: 0001628365
- News link: https://www.phoronix.com/news/Git-2.54-Released
- Source link:
Git developers continue working toward [1]Git 3.0 while out today is Git 2.54 with a few interesting additions.
Most notable of Git 2.54 is the new, experimental git history command. The git history usage is an easier approach for rewriting some elements of a repository's history that is less complex than existing tooling. Git history currently supports "reword" and "split" sub-commands. Using git history reword [commit] opens your editor and allows rewiring in place the specific commit's message and will then update any branches too that descend from that commit. The git history split [commit] command can be used to interactively split a commit into two by selecting the hunks that should be carved out into a new parent commit.
Git 2.54 also now provides a new way to define hooks in your configuration file that works for commands outside of the current Git/hook directory. Geometric repacking during maintenance by default is now enabled as is a variety of other smaller improvements.
More details on the Git 2.54 changes can be found via the [2]GitHub Blog and [3]Git 2.54 release announcement .
[1] https://www.phoronix.com/search/Git+3.0
[2] https://github.blog/open-source/git/highlights-from-git-2-54/
[3] https://lore.kernel.org/lkml/xmqqa4uxsjrs.fsf@gitster.g/
Most notable of Git 2.54 is the new, experimental git history command. The git history usage is an easier approach for rewriting some elements of a repository's history that is less complex than existing tooling. Git history currently supports "reword" and "split" sub-commands. Using git history reword [commit] opens your editor and allows rewiring in place the specific commit's message and will then update any branches too that descend from that commit. The git history split [commit] command can be used to interactively split a commit into two by selecting the hunks that should be carved out into a new parent commit.
Git 2.54 also now provides a new way to define hooks in your configuration file that works for commands outside of the current Git/hook directory. Geometric repacking during maintenance by default is now enabled as is a variety of other smaller improvements.
More details on the Git 2.54 changes can be found via the [2]GitHub Blog and [3]Git 2.54 release announcement .
[1] https://www.phoronix.com/search/Git+3.0
[2] https://github.blog/open-source/git/highlights-from-git-2-54/
[3] https://lore.kernel.org/lkml/xmqqa4uxsjrs.fsf@gitster.g/