1STG-REBASE(1) StGit Manual STG-REBASE(1)
2
3
4
6 stg-rebase - Move the stack base to another point in history
7
9 stg rebase [options] [--] <new-base-id>
10
12 Pop all patches from current stack, move the stack base to the given
13 <new-base-id> and push the patches back.
14
15 If you experience merge conflicts, resolve the problem and continue the
16 rebase by executing the following sequence:
17
18 $ git add --update
19 $ stg refresh
20 $ stg goto top-patch
21
22 Or if you want to skip that patch:
23
24 $ stg undo --hard
25 $ stg push next-patch..top-patch
26
28 -n, --nopush
29 Do not push the patches back after rebasing.
30
31 -m, --merged
32 Check for patches merged upstream.
33
35 Part of the StGit suite - see stg(1)
36
37
38
39StGit 0.23 01/27/2021 STG-REBASE(1)