How do you do interactive git staging?

preview_player
Показать описание
git add -p or git commit -p opens up an interactive "hunk" add or commit. Play around and practice to figure it out. But it is rather useful. It's mostly just a matter of knowing "partials" or "hunks" exist. I didn't.
Рекомендации по теме
Комментарии
Автор

is posible to stage hunks of a file in vimdiff(git difftool ) ?

nocanstiallbb