git-branchless-submit(1)
π NAME π
okay so this is the git-branchless-submit(1) page from the General Commands Manual, and itβs serving submit β the command whose whole job is: Push commits to a remote β¨ no cap.
π SYNOPSIS π
submit [--hidden] [-F|--forge] [-c|--create] [-d|--draft] [-m|--message]
[-j|--jobs] [-s|--strategy] [-n|--dry-run] [-h|--help] [REVSETS]
π¦ DESCRIPTION π¦
Push commits to a remote. Thatβs the function, bestie β your commits get sent to the remote, and thatβs the whole vibe. π
πΈ OPTIONS πΈ
--hiddenβ include hidden commits in the results of evaluating revset expressions. Sneaky little commits get to show up too π-F,--forge <FORGE_KIND>β the Git hosting provider to use, called a βforgeβ. If you donβt provide one, itβll try to automatically detect the forge used by the repository. If no forge can be detected, it falls back to thebranchforge π«Ά
Possible values:
branchβ force-push branches to the default push remote. You can configure the default push remote withgit config remote.pushDefault <remote>πgithubβ force-push branches to the remote and create a pull request for each branch using theghcommand-line tool. WARNING: likely buggy! πphabricatorβ submit code reviews to Phabricator using thearccommand-line tool β¨
-c,--createβ if there is no associated remote commit or code review object for a given local commit, create the remote object by pushing the local commit to the forge. Itβs giving βmake it existβ energy π₯-d,--draftβ if the forge supports it, create code reviews in βdraftβ mode π-m,--message <MESSAGE>β if the forge supports it, an optional message to include with the create or update operation. Say it with your chest, bestie π-j,--jobs <NUM_JOBS>β if the forge supports it, how many jobs to execute in parallel. The value0indicates to use all CPUs β‘-s,--strategy <EXECUTION_STRATEGY>β if the forge supports it and uses a tool that needs access to the working copy, what kind of execution strategy to use π§
Possible values:
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 π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 πΈ
-n,--dry-runβ donβt push or create anything. Instead, report what would be pushed or created. (This may still trigger fetching information from the forge.) A little peek behind the curtain, no commitment π-h,--helpβ print help (see a summary with-h) π«Ά[REVSETS][default:stack()] β the commits to push to the forge. Unless--createis passed, this will only push commits that already have associated remote objects on the forge. iykyk π
and thatβs the tea: submit in git-branchless-submit(1), General Commands Manual edition β the footer gives us no date, just this cute little sign-off, so mwah πβ¨
π¦ where this page comes from
- arch rolling: git-branchless 0.11.1-2 Β· Apache-2.0 AND MIT
- nixpkgs unstable: git-branchless 0.11.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms