Skip to main content

rt git amend

rt › git › amend

Amend the last commit with what is staged (message optional)

Usage

rt git amend [<message>] [flags]

Arguments & flags

Flag / ArgTypeDefaultDescription
<message>textNew commit message; omitted keeps the current one
--no-verifybooleanfalseSkip commit hooks
--jsonbooleanfalseMachine-readable result

See code: commands/git/mutate.ts › amendCommand