Top/VersionCtl/git/magit

目次

magit

導入方法

コマンド

version 2.8.0

'keymap' Property Bindings:

bindingcommandremark
C-jmagit-diff-visit-file-worktree
Cmagit-commit-add-log
Kmagit-file-untrack
Rmagit-file-rename
amagit-apply
smagit-stage
umagit-unstage
<C-return>magit-diff-visit-file-worktree
<remap>Prefix Command
<remap> <magit-delete-thing>magit-discard
<remap> <magit-revert-no-commit>magit-reverse
<remap> <magit-visit-thing>magit-diff-visit-file

Major Mode Bindings:

bindingcommandremark
C-cPrefix Command
TABmagit-section-toggle
RETmagit-visit-thing
C-wmagit-copy-section-value
C-xPrefix Command
ESCPrefix Command
SPCmagit-diff-show-or-scroll-up
!magit-run-popup
$magit-process-buffer
+magit-diff-more-context
-magit-diff-less-context
0magit-diff-default-context
1magit-section-show-level-1
2magit-section-show-level-2
3magit-section-show-level-3
4magit-section-show-level-4
5 .. 9digit-argument
:magit-git-command
<beginning-of-buffer
>end-of-buffer
?magit-dispatch-popup
Amagit-cherry-pick-popupgit cherry-pic の操作メニューを表示
Bmagit-bisect-popup
Dmagit-diff-refresh-popup
Emagit-ediff-popupgit diff の操作メニューを表示する
Fmagit-pull-popup
Gmagit-refresh-all
Imagit-gitignore-locally
Lmagit-log-refresh-popup
Mmagit-remote-popupgit remote の操作メニューを表示する
Omagit-subtree-popup
Pmagit-push-popupgit push の操作メニューを表示
Smagit-stage-modified
Tmagit-notes-popup
Umagit-unstage-allstage されている全てのファイルを unstage する
Vmagit-revert-popup
Wmagit-patch-popup
Xmagit-reset-popupgit reset の操作メニューを表示する
Ymagit-cherry
Zmagit-stash-popupgit stash の操作メニューを表示する
^magit-section-up
bmagit-branch-popup
cmagit-commit-popupgit commit の操作メニューを表示する
dmagit-diff-popup
emagit-ediff-compare
fmagit-fetch-popup
gmagit-refresh
hmagit-dispatch-popup
imagit-gitignore
jPrefix Command
kmagit-delete-thing
lmagit-log-popupgit log の操作メニューを表示する
mmagit-merge-popup
nmagit-section-forward
omagit-submodule-popup
pmagit-section-backward
qmagit-mode-bury-buffer
rmagit-rebase-popup
smagit-stage-file選択中のファイルを stage する
tmagit-tag-popupgit tag の操作メニューを表示する
umagit-unstage-file選択中のファイルを unstage する
vmagit-revert-no-commit
wmagit-am-popup
xmagit-reset
ymagit-show-refs-popup
zmagit-stash-popupgit stash の操作メニューを表示
DELmagit-diff-show-or-scroll-down
S-SPCscroll-down-command
<C-tab>magit-section-cycle
<M-tab>magit-section-cycle-diffs
<backtab>magit-section-cycle-global
<remap>Prefix Command
<s-tab>magit-section-cycle-global
<remap> <dired-jump>magit-dired-jump
j fPrefix Command
j nmagit-jump-to-untracked
j pPrefix Command
j smagit-jump-to-staged
j tmagit-jump-to-tracked
j umagit-jump-to-unstaged
j zmagit-jump-to-stashes
C-c C-cmagit-dispatch-popup
C-c C-emagit-dispatch-popup
C-x 4Prefix Command
C-x amagit-add-change-log-entry
M-RETmagit-dired-jump
M-1magit-section-show-level-1-all
M-2magit-section-show-level-2-all
M-3magit-section-show-level-3-all
M-4magit-section-show-level-4-all
M-nmagit-section-forward-sibling
M-pmagit-section-backward-sibling
M-wmagit-copy-buffer-revision
<remap> <evil-next-line>evil-next-visual-line
<remap> <evil-previous-line>evil-previous-visual-line
j p pmagit-jump-to-unpushed-to-pushremote
j p umagit-jump-to-unpushed-to-upstream
j f pmagit-jump-to-unpulled-from-pushremote
j f umagit-jump-to-unpulled-from-upstream
C-x 4 amagit-add-change-log-entry-other-window

version 2.1.0

bindingcommandremark
M-x: magit-statusmagit-mode 起動
hmagit のヘルプを表示
Emagit-diff-popupgit diff の操作メニューを表示する
Mmagit-remote-popupgit remote の操作メニューを表示
Fmagit-pull-popupgit pull の操作メニューを表示
Pmagit-push-popupgit push の操作メニューを表示
sgit add選択中のファイルを stage に追加(commitの対象に)する
S全ファイルを stage に追加する
umagit-unstageファイルを stage から降ろす
Umagit-unstage-all全ファイルを stage から降ろす
ccommit log を書く
C-c C-cgit commitcommit する
C-c C-agit commit --amendcommit をやり直す
bmagit-branch-popupgit branch の操作メニューを表示
lgit loglog を表示する。 l-l でshort log, l-L で verbose な log を表示する
zgit stashstash を作成する
agit stash applystash を適用(apply)する
Amagit-cherry-pick-popupgit cherry-pick の操作メニューを表示する
kgit stash dropstash を drop(最新の stash 1つを list から削除)する
b ybranch-manager を起動する
(2015-11-26 以降、従来の magit-branch-manager に代わり、新たな I/F が "y" で起動するようになった)
f fgit fetch (Current)
f ogit fetch (commit)
f agit fetch (all remotes)
mgit merge
M-x: magit-refloggit reflogそのリポジトリ上で行った git の操作履歴を表示する
dgit diffローカルの編集差分の表示
rmagit-rebase-popupgit rebase の操作メニューを表示する
tmagit-tag-popupgit tag の操作メニューを表示する
Tmagit-notes-popup

diff

link

環境構成(メモ)

emacs 25.1.1

moduleheads
magitrefs/tags/2.8.0
magit-popuprefs/tags/v2.12.5
dashrefs/tags/2.13.0
with-editorrefs/tags/v2.5.0

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS