From the course: Version Control for Everyone
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Stashing work that's not ready yet - GitHub Tutorial
From the course: Version Control for Everyone
Stashing work that's not ready yet
- [Instructor] In this video, we're going to look at stashing changes, which is a way to temporarily squirrel away work that isn't considered done enough to commit, but needs to be preserved while we go and work on something else. So there may be times when you're working on a branch, the work isn't finished yet, you don't think it's ready, but you have to switch to another branch to work on something. This is where we use them. I'll reset my work environment here by checking out the master branch and then subsequently, I'm going to go back to the fewer FAQs branch that I'm working on. Switching back over to my editor, I have the FAQ dot Markdown file open. And I'm happily working away on this. Removing questions, that aren't as frequently asked. At this point, when I'm working on this branch, I get a note from somebody that I'm collaborating with that something in the migration file should be updated. Switching back to…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Write and commit in small chunks4m 26s
-
(Locked)
Write in big chunks, commit later4m 28s
-
(Locked)
Adding and removing files4m 47s
-
Going back in time5m 37s
-
(Locked)
Experiment safely with branches4m 38s
-
(Locked)
Stashing work that's not ready yet4m 7s
-
(Locked)
Merging when work is ready3m 22s
-
(Locked)
Challenge: The next great novel2m 27s
-
(Locked)
Solution: The next great novel2m 5s
-
(Locked)
-
-
-