In this video, pull stored changes out of the stash and into the working directory.
- [Instructor] We know how to store stashed changes, … we know how to take a look of what's in our stash, … now let's see how we retrieve changes from the stash … so that we can use them. … So in my explore California project, … I've already stored some changes, … git stash list, will show those changes. … Please know that git show, the -p option … and then the reference to the stash … with @ then the number inside curly braces, … and we can see actually the changes being made. … So the changes from mission to our mission, … now that's in our stash that's not in our code. … If we go and we look at the actual project code here … you will see that it still says just mission. … Let's see how we retrieve that change … The first thing you want to do … is figure out where you want to use it? … I'm already on the shorten title branch … but I don't have to be. … This stash is available to me … in all of my branches, … so I can switch to any branch I want … but I do want to be on the shorten title branch. …
- Finding and viewing commits
- Creating and switching branches
- Comparing branches
- Resetting branches
- Merging branches
- Stashing uncommitted changes
- Setting up a remote repository
- Creating remote branches
- Fetching and pushing changes to a remote
- Enabling remote collaboration
Skill Level Beginner
1. Navigate the Commit Tree
3. Reset Branches
4. Merge Branches
5. Stash Changes
6. Set Up a Remote
7. Collaborate with a Remote
Next steps3m 40s
- 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.