# Fugitive.vim - working with the git index

> Episode of [Vimcasts](https://podistic.com/podcast/vimcasts.md) · Published April 29, 2011 · Duration 11:41

- **Listen on Podistic:** https://podistic.com/episode/fugitivevim-working-with-the-git-index
- **Video:** http://media.vimcasts.org/videos/32/fugitive_2.m4v (video/x-m4v)

## About this episode

The fugitive plugin provides an interactive status window, where you can easily stage and review your changes for the next commit. The `:Gdiff` command visualizes the changes made to a file, by comparing the working copy with the index. In this episode, we’ll learn how to stage hunks of changes to the index without using the `git add --patch` command.

*This is the second of a five part series on fugitive.vim. In the next episode, we’ll learn how to resolve a git merge conflict by performing a 3-way vimdiff.*
