git-branchless-split(1)

πŸ“¦ version 0.11.1, in arch rolling, nixpkgs unstable

πŸŽ€ 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 -m is 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