new_feature.merge_transaction
new_feature.merge_transaction
Bound merge rollback to Git state still owned by the current operation.
MergeTransaction
dataclass
Keep verified Git state across commands that may modify the target checkout.
prepared() -> None
Capture the result of Git's merge before running lifecycle commands.
pending_commit() -> bool
Accept unchanged prepared state or an exact external completion of it.
committed() -> None
Take ownership only of an exact commit of the prepared tree.
rollback() -> None
Restore only unchanged owned state, leaving uncertain user work intact.