git-branchless-prev(1)

πŸ“¦ version 0.11.1, in alpine 3.24, arch rolling, nixos 26.05, nixpkgs unstable

πŸ’… NAME πŸ’…

Okay so this is the git-branchless-prev(1) page from the General Commands Manual, and the command is prev β€” move to an earlier commit in the current stack. That’s the vibe, bestie. πŸ’–

πŸ¦‹ SYNOPSIS πŸ¦‹

prev [-a|--all] [-b|--branch] [-o|--oldest] [-n|--newest]
[-i|--interactive] [-m|--merge] [-f|--force] [-h|--help] [NUM_COMMITS]

🌸 DESCRIPTION 🌸

Move to an earlier commit in the current stack. That’s it β€” that’s the whole main character moment, no cap. Literally just prev doing its little move-to-an-earlier-commit thing. ✨

πŸŽ€ OPTIONS πŸŽ€

  • -a, --all β€” traverse as many commits as possible. Go all the way, bestie. πŸ’…
  • -b, --branch β€” move the specified number of branches rather than commits. Branches, not commits β€” iykyk. 🌿
  • -o, --oldest β€” when encountering multiple next commits, choose the oldest. Grandma commit rights πŸ‘‘
  • -n, --newest β€” when encountering multiple next commits, choose the newest. Fresh off the timeline ✨
  • -i, --interactive β€” when encountering multiple next commits, interactively prompt which to advance to. Choose-your-own-adventure energy 🫢
  • -m, --merge β€” if the local changes conflict with the destination commit, attempt to merge them. Make peace, not war 🀝
  • -f, --force β€” if the local changes conflict with the destination commit, discard them. (Use with caution!) Like, for real, be careful πŸ’€
  • -h, --help β€” print help (see a summary with -h). The classic little help moment πŸŽ€
  • [NUM_COMMITS] β€” the number of commits to traverse. If not provided, defaults to 1. Lowkey important: default is one πŸ‘‘

Manual source/version: git-branchless-prev(1) / prev; date: not shown on this page. Cute sign-off complete, bestie β€” catch you in the group chat πŸ«ΆπŸ’œπŸ¦‹

πŸ“¦ where this page comes from