1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 15:18:01 +00:00

Add Verbose Commits With Fugitive as a vim til.

This commit is contained in:
jbranchaud
2015-06-14 22:49:56 -05:00
parent fe7e5f816a
commit 438605737b
2 changed files with 9 additions and 0 deletions

View File

@@ -134,6 +134,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
- [Swap Occurrences Of Two Words](vim/swap-occurrences-of-two-words.md)
- [Tabs To Spaces](vim/tabs-to-spaces.md)
- [The Vim Info File](vim/the-vim-info-file.md)
- [Verbose Commits With Fugitive](vim/verbose-commits-with-fugitive.md)
- [View Commit History of a File](vim/view-commit-history-of-a-file.md)
- [Viewing Man Pages with man.vim](vim/viewing-man-pages-with-man-vim.md)
- [Vim Without The Extras](vim/vim-without-the-extras.md)

View File

@@ -0,0 +1,8 @@
# Verbose Commits With Fugitive
Let's say you are using [fugitive.vim](https://github.com/tpope/vim-fugitive).
You've staged some changes within the git index buffer using `:Ge:` and now
you want to make a commit. From the git index buffer, you can hit `cvc` to
pop open the commit message window in verbose mode. The verbose part means
that all the staged changes are shown below as a reference for composing the
commit message.