stg-rebase (1)
Leading comments
Title: stg-rebase Author: [FIXME: author] [see http://docbook.sf.net/el/author] Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> Date: 03/27/2014 Manual: StGit Manual Source: StGit Language: English
NAME
stg-rebase - Move the stack base to another point in historySYNOPSIS
stg rebase [options] [--] <new-base-id>
DESCRIPTION
Pop all patches from current stack, move the stack base to the given <new-base-id> and push the patches back.If you experience merge conflicts, resolve the problem and continue the rebase by executing the following sequence:
-
$ git add --update $ stg refresh $ stg goto top-patch
Or if you want to skip that patch:
-
$ stg undo --hard $ stg push next-patch..top-patch
OPTIONS
-n, --nopush
- Do not push the patches back after rebasing.
-m, --merged
- Check for patches merged upstream.