STG-SYNC(1)

πŸ’… NAME πŸ’…

okay so this is stg-sync, straight outta the StGit Manual β€” she synchronizes patches with a branch or a series, and she's literally here to keep your patches in sync πŸ’–

✨ SYNOPSIS ✨

stg sync <--ref-branch=BRANCH|--series=SERIES> [<patch>...|--all]

πŸ¦‹ DESCRIPTION πŸ¦‹

For each of the specified patches, stg sync performs a three-way merge with the same patch in the specified branch or series. The command can be used for keeping patches on several branches in sync β€” main character energy for your patch workflow, no cap πŸ‘‘

⚠️ real talk, bestie: the operation may fail for some patches because of conflicts 😭 and the patches in the series must apply cleanly β€” that part is non-negotiable 🫢

πŸŽ€ OPTIONS πŸŽ€

  • -a, --all β€” synchronize all applied patches 🌸
  • -B <branch>, --ref-branch=<branch> β€” synchronize patches with <branch> 🌿
  • -S <series>, --series=<series> β€” synchronize patches with <series> πŸŽ€
  • --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 ⏰✨

🌈 STGIT 🌈

Part of the StGit suite - see stg(1) 🫢


mwah πŸ’‹ β€” this page rode in with StGit 2.7.0, dated 10/17/2026.

πŸ“¦ where this page comes from