revert
furca revert REVISION... [-C PATH] [--json]Undoes the change each commit made, in the order given, with a new commit on the
branch HEAD is on - Revert "docs: mention retries", the message git writes -
through your own git. Nothing is rewritten: the commit stays in the history, and
so does its undoing. A merge commit is undone against its first parent: what it
brought into the line it was merged into goes.
$ furca revert HEADReverted with 1 commit: main is at 7fc3c87.A revert that meets a conflict stops halfway, as a merge
does: resolve the files, then furca continue, furca continue --skip or furca abort. Another operation
halfway is refused.
The same shape as merge; made is how many commits
the revert made.
Exit status
Section titled “Exit status”0 when every commit was reverted; 1 when it stopped halfway; 2 when furca or
git refused and nothing moved.