See how changes move through the three trees architecture in order to understand the typically workflow in Git.
- [Narrator] In the last movie we gained an understanding … of the three-tree architecture that Git uses. … Now I want us to go further with that, … and look at the workflow that we would typically use … when working with those three trees. … This is the exact process we're going to be using … in the next chapter when we work with Git commands. … But I think it's helpful for us to begin … with an illustrative overview. … Let's look at the process. … We have our three trees. … We have the Git repository, … the staging index, … and our working directory. … But to begin with let's keep it simple, … and let's say that we just have a file called file.txt … that we've created in our working directory. … Let's refer this set of changes that we've made as a. … So it's in our working directory right now, … it's not in the staging index or the repository. … We know that we can use git add … and that will then add our change set … to the staging index. … Notice here that I'm using git add … and I'm using file.txt after it …
- 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.