lambdalisue

vim-gita : Gita patch

by lambdalisue 2016-04-07 15:20:43 UTC
  • Linux / zsh / xterm-256color
  • 400

Quick usage of :Gita patch command of vim-gita

  1. :Gita patch to open vimdiff to patch changes (HEAD, INDEX, WORKTREE)

  2. dol, dor in INDEX to obtain a diff chunk from HEAD (left) or a working tree (right)

  3. dp in HEAD or WORKTREE to put a diff chunk to INDEX

  4. :w to patch the changes into the index of the git repository

More by lambdalisue