.ie \n(.g .ds Aq \(aq .el .ds Aq ' .TH git-branchless-submit 1 "submit " .SH NAME submit \- Push commits to a remote .SH SYNOPSIS \fBsubmit\fR [\fB\-c\fR|\fB\-\-create\fR] [\fB\-d\fR|\fB\-\-draft\fR] [\fB\-s\fR|\fB\-\-strategy\fR] [\fB\-\-hidden\fR] [\fB\-F\fR|\fB\-\-forge\fR] [\fB\-m\fR|\fB\-\-message\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fIREVSET\fR] .SH DESCRIPTION Push commits to a remote .SH OPTIONS .TP \fB\-c\fR, \fB\-\-create\fR If there is no remote branch for a given local branch, create the remote branch by pushing the local branch to the default push remote. You can configure the default push remote with `git config remote.pushDefault `. .TP \fB\-d\fR, \fB\-\-draft\fR If the remote supports it, create code reviews in "draft" mode .TP \fB\-s\fR, \fB\-\-strategy\fR=\fISTRATEGY\fR What kind of execution strategy to use for tools which need access to the working copy .br .br \fIPossible values:\fR .RS 14 .IP \(bu 2 working\-copy: Default. Run the tests in the working copy. This requires a clean working copy. This is useful if you want to reuse build artifacts in the current directory .IP \(bu 2 worktree: Run the tests in a separate worktree (managed by git\-branchless). This is useful if you want to run tests in parallel, or if you want to run tests on a different commit without invalidating build artifacts in the current directory, or if you want to run tests while your working copy is dirty .RE .TP \fB\-\-hidden\fR Include hidden commits in the results of evaluating revset expressions .TP \fB\-F\fR, \fB\-\-forge\fR=\fIFORGE\fR The Git hosting provider to use .br .br \fIPossible values:\fR .RS 14 .IP \(bu 2 branch: Force\-push branches to the default push remote .IP \(bu 2 github: Force\-push branches to the remote and create a pull request for each branch using the `gh` command\-line tool .IP \(bu 2 phabricator: Submit code reviews to Phabricator using the `arc` command\-line tool .RE .TP \fB\-m\fR, \fB\-\-message\fR=\fIMESSAGE\fR An optional message to include with the create or update operation .TP \fB\-h\fR, \fB\-\-help\fR Print help (see a summary with \*(Aq\-h\*(Aq) .TP [\fIREVSET\fR] [default: stack()] The commits to push. All branches attached to those commits will be pushed