.ie \n(.g .ds Aq \(aq .el .ds Aq ' .TH git-branchless-amend 1 "amend " .SH NAME amend \- Amend the current HEAD commit .SH SYNOPSIS \fBamend\fR [\fB\-f\fR|\fB\-\-force\-rewrite\fR] [\fB\-\-in\-memory\fR] [\fB\-\-on\-disk\fR] [\fB\-\-no\-deduplicate\-commits\fR] [\fB\-m\fR|\fB\-\-merge\fR] [\fB\-\-debug\-dump\-rebase\-constraints\fR] [\fB\-\-debug\-dump\-rebase\-plan\fR] [\fB\-\-reparent\fR] [\fB\-h\fR|\fB\-\-help\fR] .SH DESCRIPTION Amend the current HEAD commit .SH OPTIONS .TP \fB\-f\fR, \fB\-\-force\-rewrite\fR Force moving public commits, even though other people may have access to those commits .TP \fB\-\-in\-memory\fR Only attempt to perform an in\-memory rebase. If it fails, do not attempt an on\-disk rebase .TP \fB\-\-on\-disk\fR Skip attempting to use an in\-memory rebase, and try an on\-disk rebase directly .TP \fB\-\-no\-deduplicate\-commits\fR Don\*(Aqt attempt to deduplicate commits. Normally, a commit with the same contents as another commit which has already been applied to the target branch is skipped. If set, this flag skips that check .TP \fB\-m\fR, \fB\-\-merge\fR Attempt to resolve merge conflicts, if any. If a merge conflict occurs and this option is not set, the operation is aborted .TP \fB\-\-debug\-dump\-rebase\-constraints\fR Debugging option. Print the constraints used to create the rebase plan before executing it .TP \fB\-\-debug\-dump\-rebase\-plan\fR Debugging option. Print the rebase plan that will be executed before executing it .TP \fB\-\-reparent\fR Modify the contents of the current HEAD commit, but keep all contents of descendant commits exactly the same (i.e. "reparent" them). This can be useful when applying formatting or refactoring changes .TP \fB\-h\fR, \fB\-\-help\fR Print help