Partial Add with Git
Partial Add with Git
Using git add -p you can interactively choose which parts of your work you want to add/stage. This even allows you to add different parts of a file, while leaving out others.
Source: https://www.youtube.com/watch?v=duqBHik7nRo