diff --git a/README.md b/README.md index c4c1698..9a66696 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/vim/verbose-commits-with-fugitive.md b/vim/verbose-commits-with-fugitive.md new file mode 100644 index 0000000..1d7b25d --- /dev/null +++ b/vim/verbose-commits-with-fugitive.md @@ -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.