1. 14
    Practical Git: Compare file changes with git diff
    5m 20s

Practical Git: Compare file changes with git diff

Trevor Miller
InstructorTrevor Miller

Share this video with your friends

Send Tweet

It can be helpful to see the changes between two sets of code; git diff lets us do this by comparing two Git references and outputting the differences between them. In this lesson, we show how to use git diff along with the --stat, --cached, HEAD, origin/master, file(s)/dir(s) options.