English 字幕

← git diff Revisited Solution - How to Use Git and GitHub


Showing Revision 3 created 05/24/2016 by Udacity Robot.

  1. Git diff with no arguments compares the working directory to the staging area,
  2. git diff--staged compares the staging area to
  3. commit1 which it the most recent commit.
  4. Git diff commit1 commit2 compares commit1 to commit2