Cancel mailbox application and restore state.

Section: Apply Patches and Mailboxes

Abort git am

bash
bash
git am --abort

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Apply Patches and Mailboxes
Apply mailbox series
Apply email-formatted patches as commits.
OpenIn sheetbashsame section
Continue git am
Resume after conflict resolution.
OpenIn sheetbashsame section
Check patch applicability
Validate patch without modifying files.
OpenIn sheetbashsame section
Apply patch and update index
Apply patch to working tree and index.
OpenIn sheetbashsame section
Format last commit
Generate one patch file from latest commit.
OpenIn sheetbash1 tag match
Range-diff two series
Review changes between patch series revisions.
OpenIn sheetbash1 tag match