6 ms·
I'm using Visual Studio to both code and commit. In there is a "pending changes" window that allows me to cherry-pick the changes I've made and make small consi
by d--b 10y ago
I'm using Visual Studio to both code and commit. In there is a "pending changes" window that allows me to cherry-pick the changes I've made and make small consistent commits instead of a big one.
I'm not sure if such a UI exists for other coding environments, but I definitely wouldn't bother doing it if I was using command line to commit.
- fiatjaf 10y agoThat's a great thing about Visual Studio. Difficult to do in a shell/vim environment.
- jononor 10y ago`git add -p` allows to interactively stage changes per chunk quite easily. The '-p' flag is also supported on reset and checkout commands.
- michaelmrose 10y agoI think you can do that via fugitive in vim check it out. https://github.com/tpope/vim-fugitive https://github.com/tpope/vim-fugitive