stg-sync - Man Page

Synchronize patches with a branch or a series


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


For each of the specified patches, perform 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. Note that the operation may fail for some patches because of conflicts. The patches in the series must apply cleanly.


-a, ā€‰--all

Synchronize all applied patches

-B <branch>, --ref-branch=<branch>

Synchronize patches with <branch>

-S <series>, --series=<series>

Synchronize patches with <series>


Instead of using the current time as the committer date, use the author date of the commit as the committer date.


Part of the StGit suite - see stg(1)

Referenced By


04/09/2024 StGit 2.4.6 StGit Manual