Software0 views

Git 2.44: New Fixup Command and Improved Multi-Remote Pushing

The release of Git 2.44 introduces the experimental git history fixup command, a major efficiency boost that allows developers to apply staged changes directly to an existing commit. This eliminates the tedious process of creating temporary commits and running an interactive rebase with autosquash. Additionally, git checkout -m now features an internal autostash mechanism; if a branch switch triggers a conflict, your local edits are safely preserved, allowing you to resolve the issue immediately or reapply the code later.

For those managing complex workflows, the update streamlines repository distribution with these features:

  • Grouped Remotes: Configure a single git push to send code to multiple servers sequentially.
  • Visual Limits: The new --graph-lane-limit flag prevents the git log --graph output from expanding across the entire screen in repositories with many parallel branches.
  • Linux Performance: Native file system monitoring support significantly accelerates git status responses in massive projects.

Under the hood, maintenance on large-scale repositories is improved through incremental multi-pack index repacking. This allows the system to update fragmented metadata without rewriting the entire database during every indexing cycle, protecting performance as the project grows.