View the changes from a previous commit to the repository.
- [Instructor] By now, we've made a … few different commits in Git, so Git is able … to track our changes. … But what about when we want to go back … and review those changes at a later date? … That's what we're going to learn how to do in this movie, … how to view a previous commit. … Let's begin by making a change to our project. … I'm on the homepage of the project, the index.html, … and I just want to scroll down here, … and you'll see that it says you'll find something to love. … I'm just going to change that … to you will find something to love very quickly. … So let's go to our text editor, … and it's going to be in index.html. … We'll scroll down here, past all of the beginning, … until we get to the text, and it says you'll find, … and we're going to change it to you will find. … All right, let's save that change. … Let's come back over here to the command line, … we know that we can type git status … to see the files that have changed, … we can also type git diff to just see what changed. …
- 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.