From ea77956c0224d9f9997d60e91642a4e255750f5b Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 14 Nov 2023 18:10:22 +0100 Subject: Add a new blog post --- src/blog/nvim-ts/git-rebase.gsp | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/blog/nvim-ts/git-rebase.gsp (limited to 'src/blog/nvim-ts/git-rebase.gsp') diff --git a/src/blog/nvim-ts/git-rebase.gsp b/src/blog/nvim-ts/git-rebase.gsp new file mode 100644 index 0000000..d41262a --- /dev/null +++ b/src/blog/nvim-ts/git-rebase.gsp @@ -0,0 +1,34 @@ +@span .fn {-pick} @span .var {-d620266} Fix various typos +@span .fn {-pick} @span .var {-59fa2b6} Add new blog post +@span .fn {-pick} @span .var {-4c45214} Fix another typo + +@span .cmt {-# Rebase 10c3013..4c45214 onto 10c3013 (3 commands)} +@span .cmt {-#} +@span .cmt {-# Commands:} +@span .cmt {-# p, pick = use commit} +@span .cmt {-# r, reword = use commit, but edit the commit message} +@span .cmt {-# e, edit = use commit, but stop for amending} +@span .cmt {-# s, squash = use commit, but meld into previous commit} +@span .cmt {-# f, fixup [-C | -c] = like "squash" but keep only the previous} +@span .cmt {-# commit's log message, unless -C is used, in which case} +@span .cmt {-# keep only this commit's message; -c is same as -C but} +@span .cmt {-# opens the editor} +@span .cmt {-# x, exec = run command (the rest of the line) using shell} +@span .cmt {-# b, break = stop here (continue rebase later with 'git rebase --continue')} +@span .cmt {-# d, drop = remove commit} +@span .cmt {-# l, label