mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-05-28 02:19:33 +02:00
docs: emacs - magit
This commit is contained in:
@@ -198,25 +198,20 @@ 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` |
|
| Unstage | `u` |
|
||||||
| Unstage | `u` |
|
| 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` |
|
||||||
| Merge | `m` |
|
| Stash | `z` |
|
||||||
| Fold/Unfold | `TAB` |
|
| Merge | `m` |
|
||||||
| Show details of the current unit(commit/stage/...) | `<ENTER>` |
|
| Fold/Unfold | `TAB` |
|
||||||
<<<<<<< HEAD
|
| Show details of the current unit(commit/stage/...) | `<ENTER>` |
|
||||||
=======
|
|
||||||
|
|
||||||
>>>>>>> d61e580 (docs: emacs - magit)
|
|
||||||
|
|||||||
Reference in New Issue
Block a user