14 ms·
I've gone further with this when staging parts of the diff while viewing the output of git diff in vim. You can visually highlight the part of the diff along w
by u801e 8y ago
I've gone further with this when staging parts of the diff while viewing the output of git diff in vim. You can visually highlight the part of the diff along with the diff header lines and run
:'<,'>!git-apply --cached -
git apply is one of the git "plumbing" commands that can be used to apply patches to the working directory or the git index.