1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 22:40:04 +08:00
SpaceVim/bundle/git.vim
wsdjeg ff2c5a4d6c feat(git): use notify api to display error
`Git log` should not open log buffer for non-git repository files
2022-05-19 12:15:28 +08:00
..
autoload feat(git): use notify api to display error 2022-05-19 12:15:28 +08:00
doc Add Git mv command (#4350) 2021-08-04 12:13:28 +08:00
plugin chore(copyright): update copyright 2022-02-03 17:24:51 +08:00
syntax Improve git.vim (#4033) 2021-01-02 18:15:08 +08:00
.gitignore Improve git.vim (#4033) 2021-01-02 18:15:08 +08:00
addon-info.json Improve git.vim (#4033) 2021-01-02 18:15:08 +08:00
LICENSE Improve git.vim (#4033) 2021-01-02 18:15:08 +08:00
README.md Improve git.vim (#4033) 2021-01-02 18:15:08 +08:00

git.vim

Use git in SpaceVim

usage

  • :Git add %: stage current file.
  • :Git add .: stage all files
  • :Git commit: edit commit message
  • :Git push: push to 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

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

This plugin is based on SpaceVim's API, make sure your SpaceVim is the latest version.

To report bug or request new features about git.vim, please send me email.

wsdjeg@outlook.com