DEV Community

Discussion on: My small hook and my flow with git

Collapse
 
dmahely profile image
Doaa Mahely

I don't always to that as I make the change. Instead I play around a bit until I get where I want to and then I just commit small hunks little by little.

I do this as well. Sometimes I like to focus first on making the code work then I go over it and stage related changes bit by bit using VS Code's GUI.

Collapse
 
nflamel profile image
Fran C.

I do it with Vim's fugitive plugin. It has an interface that allows you to stage hunks pretty easily line by line.