-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# StGit extension for Magit | ||
|
||
This package provides very basic support for StGit. | ||
|
||
StGit (Stacked Git) is an application that aims to provide a | ||
convenient way to maintain a patch stack on top of a Git branch. | ||
For more information about StGit see http://www.procode.org/stgit. | ||
|
||
When `magit-stgit-mode` is turned on then the current patch series | ||
is displayed in the status buffer. While point is on a patch the | ||
changes it introduces can be shown using `RET`, it can be selected | ||
as the current patch using `a`, and it can be discarded using `k`. | ||
Other StGit commands are available from the StGit popup on `/`. | ||
|
||
To enable the mode in a particular repository use: | ||
|
||
cd /path/to/repository | ||
git config --add magit.extension stgit | ||
|
||
To enable the mode for all repositories use: | ||
|
||
git config --global --add magit.extension stgit | ||
|
||
To enable the mode globally without dropping to a shell: | ||
|
||
(add-hook 'magit-mode-hook 'magit-stgit-mode) | ||
|
||
If you are looking for full fledged StGit support in Emacs, then | ||
have a look at `stgit.el` which is distributed with StGit. |