Archived video

This video is archived and won't be updated. We're keeping it online for now as a courtesy.

Reviewing Changes and Using git diff

Video loading...

Join Drupalize.Me to watch this video

Join today and gain instant access to our entire video library.

Log in Sign up
  • 0:02
    [Chapter 8 with Blake Hall]
  • 0:05
    We can use git to review changes both before commits
  • 0:08
    and between branches in our repository
  • 0:11
    using the git diff command.
  • 0:13
    In this lesson, we'll take a look at git diff in more detail,
  • 0:16
    comparing a couple of different branches as well as comparing files
  • 0:19
    from our staging area and index before we add them to the repository.
  • 0:24
    We'll also take a look at the git diff tool
  • 0:26
    to use a third-party program on the Mac OS called FileMerge
  • 0:30
    to make reading our diff output a little bit easier.
Loading ...

Reviewing Changes and Using Git Diff


This lesson covers the `git diff` command and how to use the command along with a Git Treeish reference to view the differences in a project or a single file between two commits. Or alternatly between the current HEAD and the working tree. We'll also take a look at integrating Git with some external diff tools that make reading the output from the `git diff` command a bit easier.

Additional resources:
There are no resources for this video. If you believe there should be, please contact us.