Compare two commits to discover what changed.
- [Instructor] In this movie, I want us to learn … how to compare two commits. … In order to do that, let's make another change … and we'll commit the change. … Instead of being on the homepage of our project, … I'm just going to go to our resources page to tour facts. … If you scroll down here, it says in this section … you'll find frequently asked questions. … I'm going to change this to, in this section … you will find frequently asked questions. … Just to make a small change so that we have something … to look at. … So I'm going to to the resources page, … and here's the FAQ, and let's just scroll down … til we find that text. … In this section you will find frequently asked questions. … Okay so we'll save our change, … we'll come back over here to the command line, … we know that change is there now, … git status will show it. … We can take a look at that change using git diff, … and we see what changed. … We can use color words if we want to only see … that single change. … It can be a little easier when you just have …
- Exploring the history of version control
- Installing Git on Mac, Windows, and Linux
- Initializing a repository
- Writing useful commit messages
- The Git three-tree architecture
- Tracking when files are added, edited, deleted, or moved
- Viewing change sets and comparing versions
- Undoing changes and retrieving previous versions
- Ignoring changes to select files
Skill Level Beginner
1. What Is Git?
2. Install Git
3. Getting Started
4. Git Concepts and Architecture
5. Make Changes to Files
6. Use Git with a Real Project
7. Undo Changes
8. Ignore Files
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.