safegit v0.26.0 /safegit undo
On this page

Reference for the safegit undo command — usage, flags, arguments, and examples for the undo subcommand of the safegit CLI.

#safegit undo

reverse the last commit, amend, or reword operation using the oplog

Effect: mutating

#Flags

Flags
NameShortTypeDefaultEnvDescription
--bypass-sessionboolundo across all sessions by ignoring the session ID ownership check
--countint1number of oplog operations to undo in a single invocation

#Grants

Grants
KindNameReason
proc_mutateparent-bumpundoing a submodule commit moves the parent's gitlink back, so safegit commits the parent too when commit.autoBumpParent is on
Search