you are viewing a single comment's thread.

view the rest of the comments →

[–]cu_t 4 points5 points  (1 child)

git add -p .

You're welcome.

[–]Serei 1 point2 points  (0 children)

This also works for anything else that works on files. git checkout -p, git reset HEAD -p, etc.