Neovim plugin that make using git with neovim easer
Git Status
Press the letter in help to execute the command Ex. if press `a` when cursor at the same line with `a.txt` it will add it to stagingUse packer to quick install.
Add to packer.lua
:
use {
'SIGMazer/nvim-auto-git',
post_install = {'UpdateRemotePlugins'}
}
and restart nvim
Add to remap.lua
:
vim.keymap.set("n","<leader>gs",'<Cmd>lua vim.cmd(":AutoGit")<CR>')
- add
- commit
- push
- pull
- restore
- merge
- stash
- diff
- branchs (add, switch, delete)
- log
- reset