DOKK / manpages / debian 10 / stgit / stg-sync.1.en
STG-SYNC(1) StGit Manual STG-SYNC(1)

stg-sync - Synchronise patches with a branch or a series

stg sync [options] [--] [<patch1>] [<patch2>] [<patch3>..<patch4>]

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

Synchronise all the applied patches.

-B REF-BRANCH, --ref-branch REF-BRANCH

Syncronise patches with BRANCH.

-s SERIES, --series SERIES

Syncronise patches with SERIES.

Part of the StGit suite - see stg(1)

09/02/2017 StGit