aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/doc/filetype.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/runtime/doc/filetype.txt b/runtime/doc/filetype.txt
index c04367d1ad..56fbd5c2a0 100644
--- a/runtime/doc/filetype.txt
+++ b/runtime/doc/filetype.txt
@@ -603,6 +603,24 @@ One command, :DiffGitCached, is provided to show a diff of the current commit
in the preview window. It is equivalent to calling "git diff --cached" plus
any arguments given to the command.
+GIT REBASE *ft-gitrebase-plugin*
+
+The gitrebase filetype defines the following buffer-local commands, to help
+with interactive `git rebase`: >
+
+ :Drop " to discard this commit
+ :Edit " to stop for editing this commit
+ :Fixup " to squash (but discard the message) into the previous one
+ :Pick " to pick this commit (the cursor is on)
+ :Reword " to pick this commit, but change the commit message
+ :Squash " to squash this commit into the previous one
+
+In addition, the following comamnd can be used to cycle between the different
+possibilities: >
+
+ :Cycle " to cycle between the previous commands
+<
+For details, see `git-rebase --help`.
GO *ft-go-plugin*