git-branchless-amend(1)

πŸ“¦
version 0.11.1 Β· 2 versions
, in arch rolling, nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so this is the git-branchless-amend(1) page from the General Commands Manual, and the command is amend β€” it amends the current HEAD commit. periodt. πŸ’…

✨ SYNOPSIS ✨

amend [-f|--force-rewrite] [--in-memory] [--on-disk]
       [--no-deduplicate-commits] [-m|--merge] [--reparent]
       [--debug-dump-rebase-constraints] [--debug-dump-rebase-plan]
       [--untracked] [-h|--help]

🌸 DESCRIPTION 🌸

This command amends the current HEAD commit. That’s the whole description, bestie β€” no extra lore hiding in here. πŸ’–

πŸ‘‘ OPTIONS πŸ‘‘

  • -f, --force-rewrite β€” Force moving public commits, even though other people may have access to those commits. 🚨
bestie, this is the β€œare you sure???” option β€” it moves public commits even when other people may have access to them. use your powers responsibly. πŸ’€
  • --in-memory β€” Only attempt to perform an in-memory rebase. If it fails, do not attempt an on-disk rebase. 🧠✨
  • --on-disk β€” Skip attempting to use an in-memory rebase, and try an on-disk rebase directly. πŸ’½
  • --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. 🫢
  • -m, --merge β€” Attempt to resolve merge conflicts, if any. If a merge conflict occurs and this option is not set, the operation is aborted. 😭
  • --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. πŸ¦‹
lowkey a β€œuse with care” situation, bestie β€” especially if those descendants are coming from a far-away branch, because 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-dump-rebase-plan β€” Debugging option. Print the rebase plan that will be executed before executing it. πŸ—ΊοΈ
  • --untracked <UNTRACKED_FILE_STRATEGY> β€” How should newly encountered, untracked files be handled? πŸ™ˆ

Possible values:

  • add: Add all untracked files
  • disable: Disable all untracked file checking and processing
  • prompt: Prompt the user about how to handle each untracked file
  • skip: Skip all untracked files
  • -h, --help β€” Print help (see a summary with '-h'). πŸ’–

πŸ’– that’s the whole page, bestie! source/version: git-branchless-amend(1) (no separate version number printed here); manual: General Commands Manual; footer title: amend; date: not shown on this copy, so no cap, I’m not making one up 🫢✨

πŸ“¦ where this page comes from