File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ # StGit extension for Magit
2
+
3
+ This package provides very basic support for StGit.
4
+
5
+ StGit (Stacked Git) is an application that aims to provide a
6
+ convenient way to maintain a patch stack on top of a Git branch.
7
+ For more information about StGit see http://www.procode.org/stgit .
8
+
9
+ When ` magit-stgit-mode ` is turned on then the current patch series
10
+ is displayed in the status buffer. While point is on a patch the
11
+ changes it introduces can be shown using ` RET ` , it can be selected
12
+ as the current patch using ` a ` , and it can be discarded using ` k ` .
13
+ Other StGit commands are available from the StGit popup on ` / ` .
14
+
15
+ To enable the mode in a particular repository use:
16
+
17
+ cd /path/to/repository
18
+ git config --add magit.extension stgit
19
+
20
+ To enable the mode for all repositories use:
21
+
22
+ git config --global --add magit.extension stgit
23
+
24
+ To enable the mode globally without dropping to a shell:
25
+
26
+ (add-hook 'magit-mode-hook 'magit-stgit-mode)
27
+
28
+ If you are looking for full fledged StGit support in Emacs, then
29
+ have a look at ` stgit.el ` which is distributed with StGit.
You can’t perform that action at this time.
0 commit comments