mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 17:40:06 +08:00
.. | ||
autoload | ||
doc | ||
lua/git | ||
plugin | ||
syntax | ||
test | ||
.gitignore | ||
addon-info.json | ||
LICENSE | ||
README.md |
git.vim
git.vim is a plugin to use git command in vim and neovim.
Install
- Using
git.vim
in SpaceVim:
[[layers]]
name = 'git'
- 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 commit
:Git push
:Git push
completion
:Git diff
: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