Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+19 votes
asked in CSC335 Fall 2022 by (1 point)

1 Answer

+8 votes

The git diff command shows you the difference between things. In this case, it would show you the difference between the HEAD revision (the committed version of the project that you are currently looking at / working with), and the "parent of the parent of HEAD" (i.e. the state of the project TWO commits earlier) in the git commit graph.

In other words, it will show you what changed during the last two prior commits to where you are now.

answered by (4.9k points)
...