In Git 2.56's history drop command replays commits 40 to 77 times faster than rebase, Alex Georgiev measures two ways to remove a commit from a linear history in a bare repository. One uses a linked worktree and rebase. The other uses Git's experimental history drop command, which replays descendants onto the removed commit's parent.
Check that both runs rewrote history
For the case with 100 descendants, Georgiev reports averages of 7.121 seconds for the worktree-and-rebase approach and 0.092 seconds for the experimental command, with three trials per method. Those figures describe a synthetic history whose descendants edit a shared file and each add a separate file. On a smaller repository, Georgiev checked that the resulting branch tips had the same tree hash. A tree hash checks the resulting snapshot. A commit hash identifies a commit that also records details such as its parent.
Georgiev's first attempt shows why elapsed time needs a correctness check. The experimental command rejected an unsupported quiet flag and exited almost immediately. Comparing the branch tip before and after the run showed that the measured command had left it where it started. A benchmark for a rewrite needs to record whether the command succeeded, where each branch ended up and whether the resulting tree matches the intended result.
Inspect the refs and what happens on conflict
The Git 2.56 manual describes two update scopes. The default can move all affected local branches, and the head scope limits the update to the current HEAD. A dry run prints the proposed reference updates and can write the new objects while leaving the references at their original values.
The manual also describes two workflow differences that a timing comparison misses. The experimental command currently skips hooks, including the post-rewrite hook Georgiev exercised. If replaying a descendant would conflict, it exits with an error. Georgiev's deliberate conflict left the original branch history in place. Anyone evaluating the command for an automated rewrite can use its proposed ref updates to see which branch tips would move and check whether their existing workflow depends on a hook or a pause for manual conflict resolution.