.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\-\-reparent\fR] [\fB\-\-debug\-dump\-rebase\-constraints\fR] [\fB\-\-debug\-dump\-rebase\-plan\fR] [\fB\-\-untracked\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\-\-reparent\fR Keep all contents of descendant commits exactly the same (i.e. "reparent" them). This can be useful when applying formatting or refactoring changes. Use with care if the descendants are moved from a far\-away branch, as it may carry along a lot of unintended changes onto the destination .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\-\-untracked\fR \fI\fR How should newly encountered, untracked files be handled? .br .br \fIPossible values:\fR .RS 14 .IP \(bu 2 add: Add all untracked files .IP \(bu 2 disable: Disable all untracked file checking and processing .IP \(bu 2 prompt: Prompt the user about how to handle each untracked file .IP \(bu 2 skip: Skip all untracked files .RE .TP \fB\-h\fR, \fB\-\-help\fR Print help (see a summary with \*(Aq\-h\*(Aq)