Learn how Git identifies commits using a hash value, also known as a SHA.
- [Instructor] In this movie, we're going to talk about the way … that Git labels and refers to its commits using hash values. … In the last movie, we talked about the typical Git workflow … and changes moved from our working directory, … to our staging index, into our repository. … I had called these simply A, B, and C. … They represented different change sets. … In our simple version, … they represented changes to a single file, … but in real usage, … this could be changes to multiple files and directories, … all packaged together into a single snapshot. … It's a snapshot of changes to our project. … Now, I called them A, B, and C just to keep it simple, … but that's not the way that Git refers to them. … Instead, Git generates a checksum … for each of the change sets. … That's the hash value. … A checksum is a number that's generated by taking data … and feeding it into a mathematical algorithm. … So the checksum converts data into a simple number … and we call that simple number a checksum. …
- 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.