git commands
add parts of a file
Stack overflow
says:
git add -p
[
filenane]
Find differences
Stack overflow
says:
HEAD -> Index (staging area):
git diff --cached
Index (staging area) -> Working Tree
git diff
HEAD -> Working Tree
git diff HEAD
This work is licensed under a
Creative Commons Attribution-ShareAlike 4.0 International License
.