docs: emacs - magit

This commit is contained in:
Ryan Yin
2024-01-18 16:26:41 +08:00
parent 3f2049ab02
commit 9cbffaf841
+3 -8
View File
@@ -198,14 +198,11 @@ Magit is a powerful tool that make git operations easy and intuitive.
Shortcuts in magit's pane: Shortcuts in magit's pane:
<<<<<<< HEAD
=======
> When run `git commit` / `git add` / `git push` /... via magit, multiple Arguments can be set. > When run `git commit` / `git add` / `git push` /... via magit, multiple Arguments can be set.
> Set arguments won't trigger a git command immediately. Magit will try to run a git command only after an Action key is pressed. > Set arguments won't trigger a git command immediately. Magit will try to run a git command only after an Action key is pressed.
>>>>>>> d61e580 (docs: emacs - magit)
| Action | Shortcut | | Action | Shortcut |
| -------------------------------------------------- | --------- | | -------------------------------------------------- | --------------------------------------------- |
| Quit the current Magit pane | `q` | | Quit the current Magit pane | `q` |
| Commit | `c` | | Commit | `c` |
| Stage | `s` | | Stage | `s` |
@@ -213,10 +210,8 @@ Shortcuts in magit's pane:
| Push | `p` | | Push | `p` |
| Pull | `f` | | Pull | `f` |
| Rebase | `r` | | Rebase | `r` |
| Rebase Interactively | `r + i`, select on a commit, then `C-c + C-c` |
| Stash | `z` |
| Merge | `m` | | Merge | `m` |
| Fold/Unfold | `TAB` | | Fold/Unfold | `TAB` |
| Show details of the current unit(commit/stage/...) | `<ENTER>` | | Show details of the current unit(commit/stage/...) | `<ENTER>` |
<<<<<<< HEAD
=======
>>>>>>> d61e580 (docs: emacs - magit)