Skip to content

Latest commit

 

History

History
78 lines (50 loc) · 1.95 KB

README.md

File metadata and controls

78 lines (50 loc) · 1.95 KB

git.vim

git.vim is a plugin to use git command in vim and neovim.

GPLv3 License

Install

  1. Using git.vim in SpaceVim:
[[layers]]
  name = 'git'
  1. Using git.vim without SpaceVim:
Plug 'wsdjeg/git.vim'

Usage

  • :Git add %: stage current file.
  • :Git add .: stage all files
  • :Git commit: edit commit message
  • :Git push: push to remote
  • :Git pull: pull updates from remote
  • :Git fetch: fetch remotes
  • :Git checkout: checkout branches
  • :Git log %: view git log of current file
  • :Git config: list all git config
  • :Git reflog: manage reflog information
  • :Git branch: list, create, or delete branches
  • :Git rebase: rebase git commit
  • :Git diff: view git-diff info

Screenshot

:Git status

git-status

:Git commit

git-commit

:Git push

git-push

:Git push completion

git-push-complete

:Git diff

git-diff

:Git log

git-log

Feedback

The development of this plugin is in SpaceVim/bundle/git.vim directory.

If you encounter any bugs or have suggestions, please file an issue in the issue tracker