Hacker News new | ask | show | jobs
by jpitz 1938 days ago
With the add command's interactive mode, it is often possible to selectively stage and commit individual patches in a file.

https://git-scm.com/book/en/v2/Git-Tools-Interactive-Staging