STG-FLOAT(1)

πŸ’… STG-FLOAT(1) β€” the StGit Manual, but make it make sense

okay bestie, welcome to stg-float πŸ¦‹ this is the page from the StGit manual, and honestly? it's kind of a slay.

✨ NAME ✨

stg-float β€” push patches to the top, even if applied. yes, even if applied. we love an overachiever πŸ’–

✨ SYNOPSIS ✨

stg float [OPTIONS] <patch>...
stg float [OPTIONS] <-S|--series> <file>

✨ DESCRIPTION ✨

Push patches to the top, even if applied. that's the whole vibe, but let me elaborate because you deserve the details πŸ”₯

Float one or more patches to be the topmost applied patches. the patches you're floating can currently be either applied or unapplied β€” no gatekeeping, both are welcome 🫢 the necessary pop and push operations will be performed to float the named patches. and the patches you didn't name? they stay exactly applied-or-unapplied as they were prior to the float operation. no collateral damage, we don't do that here ✨

lowkey the whole point: named patches go to the top, everyone else stays in their lane. periodt.

πŸŽ€ OPTIONS πŸŽ€

  • --noapply β€” reorder patches without reapplying any patches. just vibes and ordering, no reapply 😌
  • -S <file>, --series=<file> β€” rearrange according to a series <file>. let the file be the main character πŸ‘‘
  • -k, --keep β€” keep the local changes. protect them at all costs πŸ™ˆ
  • --committer-date-is-author-date β€” instead of using the current time as the committer date, use the author date of the commit as the committer date. it's giving "let the commit remember where it came from" πŸ’«

🌸 STGIT 🌸

part of the StGit suite β€” see stg(1). iykyk πŸ’…


and that's the tea, bestie πŸ“ this iconic little page is from StGit 2.7.0, dated 10/17/2026 β€” go float some patches, you absolute legend β­πŸ§šπŸ’œ

πŸ“¦ where this page comes from