Staging Git Commits within Vim: Part 3 | Vim 🔥 Tips and Tricks

preview_player
Показать описание
In this video I follow up on a comment about yet another way to stage changes for a Git commit within Vim using vim-fugitive. The git summary area provided by fugitive can be used as an interactive staging area similar to the way `git add --patch` works. I walk through all the aspects of it in the video.

Links

#git #vim
Рекомендации по теме
Комментарии
Автор

Great video's btw, there aren't too many about fugitive, so there is a lot to learn
Trick: You can hop over to next and previous hunks with ]c and [c respectively. Works in both the status area and diff view

bartstavenuiter
Автор

I don't get why you use :Ge: instead of just :G

RodolfoBorges