1.

What do the git diff and git status commands do?

Answer»
git diffgit status
This SHOWS the changes between commits, working TREES, etc.This shows the difference between the working directory and INDEX that is essential in understanding git in depth.
  • git diff works in a SIMILAR FASHION to git status with the only difference of showing the differences between commits and also between the working directory and index.


Discussion

No Comment Found