3 Yann Dirson <ydirson@altern.org>
8 stg - manage stacks of patches using the GIT content tracker
13 'stg' [--version] [--help] <command> [OPTIONS] [ARGS]
18 StGIT (Stacked GIT) is an application providing similar functionality
19 to Quilt (i.e. pushing/popping patches to/from a stack), on top of
20 GIT. These operations are performed using GIT commands and the patches
21 are stored as GIT commit objects, allowing easy merging of the StGIT
22 patches into other repositories using standard GIT functionality.
24 Typical uses of StGIT include:
27 Maintaining modifications against a remote branch, possibly
28 with the intent of sending some patches upstream. StGIT
29 assists in preparing and cleaning up patches until they are
30 acceptable upstream, as well as maintaining local patches not
31 meant to be sent upstream.
34 Preparing and testing your commits before publishing them,
35 separating your features from unrelated bugfixes collected
42 Prints the StGIT suite version that the 'stg' program came
43 from, as well as version of other components used, such as GIT
47 Prints the synopsis and a list of all commands. If a git
48 command is given this option will display the specific help
54 We divide StGIT commands in thematic groups, according to the primary
55 type of object they create or change.
57 ifdef::backend-docbook[]
58 Here is a short description of each command. A more detailed
59 description is available in individual command manpages. Those
60 manpages are named 'stg-<command>(1)'.
61 endif::backend-docbook[]
66 User-support commands not touching the repository.
104 stglink:assimilate[]::
107 Controlling what patches are applied
108 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
122 stglink:unapplied[]::
132 Miscellaneous stack commands
133 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
154 Controlling patch contents
155 ^^^^^^^^^^^^^^^^^^^^^^^^^^
170 Interaction with the rest of the world
171 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
181 Working-copy commands
182 ~~~~~~~~~~~~~~~~~~~~~
197 CONFIGURATION MECHANISM
198 -----------------------
200 Starting with 0.12, StGIT uses the same configuration mechanism as
201 GIT. See gitlink:git[7] for more details.
206 A number of StGIT commands make use of template files to provide
207 useful default texts to be edited by the user. These '<name>.tmpl'
208 template files are searched in the following directories:
211 $HOME/.stgit/templates/
212 /usr/share/stgit/templates/