Unstage files which had been added to the staging area.
- [Instructor] I also want us to see … how we can undo changes … that we've made to our staging tree. … Essentially what we're saying is things … that I have staged there, … I'd like to now unstage them. … That's what undoing things in the staging tree means, … put them back like they were. … Make the staging tree match the Git repository. … So in order to see this, … we first need to make some changes … that we can take a look at. … So let's go into our text editor, … and let's make a couple of changes here. … Let's look at index.html, … and let's scroll down. … And let's see, we've got some packages here. … We changed the prices on packages before, … and let's just bring up a Taste of California. … And let's change this price … from $1.50 to something else. … So I'm just going to do a global search for $1.50. … Let's do Find All. … Let's see what it brings up. … There's a bunch of these in here. … And let's change it to be $1.75. … And we're going to make this change permanent in the end, …
- 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.