We can add part of changes (from the same file) to the staging area and not to add the rest of the changes
git add -p
It will ask us interactively whether we want to add each individual changes to the staging area or not
y
means yes,
n
means no
by Valeri Tandilashvili
4 years ago
Git
0
Pro tip: use ```triple backticks around text``` to write in code fences