'\" t
.\" Title: stg-sync
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1
.\" Date: 03/26/2014
.\" Manual: StGit Manual
.\" Source: StGit
.\" Language: English
.\"
.TH "STG\-SYNC" "1" "03/26/2014" "StGit" "StGit Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
stg-sync \- Synchronise patches with a branch or a series
.SH "SYNOPSIS"
.sp
.nf
\fIstg\fR sync [options] [\-\-] [] [] [\&.\&.]
.fi
.SH "DESCRIPTION"
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\&.
.SH "OPTIONS"
.PP
\-a, \-\-all
.RS 4
Synchronise all the applied patches\&.
.RE
.PP
\-B REF\-BRANCH, \-\-ref\-branch REF\-BRANCH
.RS 4
Syncronise patches with BRANCH\&.
.RE
.PP
\-s SERIES, \-\-series SERIES
.RS 4
Syncronise patches with SERIES\&.
.RE
.SH "STGIT"
Part of the StGit suite \- see \fBstg\fR(1)