git-branchless-split(1)
π NAME π
split β Split commits. Welcome to the git-branchless-split(1) page, bestie β yes, that's the General Commands Manual energy, and this command is here to split commits. slay. π
β¨ SYNOPSIS β¨
okay so here's the exact summoning spell, no cap:
split [-b|--before] [-d|--detach] [-D|--discard] [--hidden]
[-f|--force-rewrite] [--in-memory] [--on-disk]
[--no-deduplicate-commits] [-m|--merge] [--reparent]
[--debug-dump-rebase-constraints] [--debug-dump-rebase-plan] [-h|--help]
<REVSET> <FILES>
π¦ DESCRIPTION π¦
split β Split commits. That's the whole description, and honestly it ate: you take commits and you split them. periodt. π«Ά
π OPTIONS π
-b,--beforeβ insert the extracted commit before the split commit, like as a parent of the split commit. family-tree rearrangement, lowkey iconic. π-d,--detachβ restack any descendents onto the split commit, not the extracted commit. detach era. π¦-D,--discardβ after extracting the changes, don't recommit them. bye-bye extracted bits, no crumbs. π--hiddenβ include hidden commits in the results of evaluating revset expressions. hidden gems stay in the group chat. π-f,--force-rewriteβ force moving public commits, even though other people may have access to those commits. β οΈ bestie, this is the "other people are gonna see this" button β use with the awareness that it's public-commit movement. π₯--in-memoryβ only attempt to perform an in-memory rebase. if it fails, do not attempt an on-disk rebase. in-memory only, no fallback, periodt. π§--on-diskβ skip attempting to use an in-memory rebase, and try an on-disk rebase directly. straight to disk, no warm-up. πΎ--no-deduplicate-commitsβ don't 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. so yes, this turns off the dupe-check. π―-m,--mergeβ attempt to resolve merge conflicts, if any. if a merge conflict occurs and this option is not set, the operation is aborted. so-mis the "handle the drama" flag. π--reparentβ 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. π--debug-dump-rebase-constraintsβ debugging option. print the constraints used to create the rebase plan before executing it. debug girlies, this one's for you. π--debug-dump-rebase-planβ debugging option. print the rebase plan that will be executed before executing it. peek the plan before the plan happens. π-h,--helpβ print help. the classic "what does this do again" button. π<REVSET>β commit to split. if a revset is given, it must resolve to a single commit. one commit only, no group project. β<FILES>β files to extract from the commit. the specific files getting pulled out of the commit. π
okay bestie, that's the whole split page from git-branchless-split(1) β cute sign-off for the footer: source/version/manual cuties split Β· git-branchless-split(1), and no date shown in the original footer so I'm not making one up π. 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