From the course: Version Control for Everyone
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Write in big chunks, commit later - GitHub Tutorial
From the course: Version Control for Everyone
Write in big chunks, commit later
- [Instructor] I was using Version Control software for what felt like a long time, before I realized that working and committing in tiny pieces wasn't the only way to do it. Turns out, you can do a bunch of work at once and make your commits after the fact. In this video we'll show you how that works. Here in Visual Studio code, I've opened the FAQ dot Markdown file in the Users folder inside D DevDocs. And then the exercise files for this video, I have a file called FAQ replacement. Let's just select everything here. I'll select all with Command A or Ctrl A, copy. I'll switch back over to the FAQ dot MD file, going to select all again and paste over the entire file. This just saves us a little bit of typing. What we've done here is we've added a few more FAQs kind of sprinkled throughout the file. Now back here in sublime merge. I can see that I have one FAQ added to the end of the file and a couple others in here, as…
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
-
-
-
-
-
Write and commit in small chunks4m 26s
-
Write in big chunks, commit later4m 28s
-
Adding and removing files4m 47s
-
Going back in time5m 37s
-
Experiment safely with branches4m 38s
-
Stashing work that's not ready yet4m 7s
-
Merging when work is ready3m 22s
-
Challenge: The next great novel2m 27s
-
Solution: The next great novel2m 5s
-
-
-
-