A Git crash course for you — Find bugs
In this series of stories, you will deepen your knowledge of git. The following topics will be covered:
- commit files,
- commit changes,
- undo changes,
- resolve merge conflicts,
- find bugs,
- rewriting the history,
- working remotely.git diff
To display the differences between two commits, use the git diff
command and specify the hash of each commit:
git diff HEAD~2 HEAD