.ie \n(.g .ds Aq \(aq .el .ds Aq ' .TH git-branchless-restack 1 "restack " .SH NAME restack \- Fix up commits abandoned by a previous rewrite operation .SH SYNOPSIS \fBrestack\fR [\fB\-\-hidden\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\-h\fR|\fB\-\-help\fR] [\fIREVSETS\fR] .SH DESCRIPTION Fix up commits abandoned by a previous rewrite operation .SH OPTIONS .TP \fB\-\-hidden\fR Include hidden commits in the results of evaluating revset expressions .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\-h\fR, \fB\-\-help\fR Print help .TP [\fIREVSETS\fR] [default: draft()] The IDs of the abandoned commits whose descendants should be restacked. If not provided, all abandoned commits are restacked