diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-02-23 15:36:58 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-02-23 15:36:58 +0100 |
commit | 6852d374645e47980973c618560879b0928eed78 (patch) | |
tree | 79c357c68f9418a82856f234c9a9831727d8ae6d /src/blog/nvim-ts | |
parent | 7abf6c5a40bd14e2719d0423426fa905076ec97e (diff) |
Fix things lol
Diffstat (limited to 'src/blog/nvim-ts')
-rw-r--r-- | src/blog/nvim-ts/git-rebase | 4 | ||||
-rw-r--r-- | src/blog/nvim-ts/index.gsp | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/blog/nvim-ts/git-rebase b/src/blog/nvim-ts/git-rebase index f8c3a91..e3f32d6 100644 --- a/src/blog/nvim-ts/git-rebase +++ b/src/blog/nvim-ts/git-rebase @@ -16,8 +16,8 @@ pick 4c45214 Fix another typo # x, exec <command> = run command (the rest of the line) using shell # b, break = stop here (continue rebase later with 'git rebase --continue') # d, drop <commit> = remove commit -# l, label <label> = label current HEAD with a name -# t, reset <label> = reset HEAD to a label +# l, label <label> = label current ‘‘HEAD’’ with a name +# t, reset <label> = reset ‘‘HEAD’’ to a label # m, merge [-C <commit> | -c <commit>] <label> [# <oneline>] # create a merge commit using the original merge commit's # message (or the oneline, if no original merge commit was diff --git a/src/blog/nvim-ts/index.gsp b/src/blog/nvim-ts/index.gsp index e394e49..1c28687 100644 --- a/src/blog/nvim-ts/index.gsp +++ b/src/blog/nvim-ts/index.gsp @@ -42,9 +42,9 @@ html lang="en" { While for many people this might be fine, I personally find it much more clean to have the first and third commits merged into one commit, as they’re two parts of the same task. This is where Git-Rebase comes in. - We can run @code{-git rebase -i HEAD~N} where @code{-N} is - the number of commits back we want to include, which in this case would - be 3. Running that command will open the following buffer in your text + We can run @code{-git rebase -i ‘‘HEAD’’~N} where @code{-N} is the + number of commits back we want to include, which in this case would be + 3. Running that command will open the following buffer in your text editor. In my case, Neovim. } |