From the course: Version Control for Everyone
Unlock the full course today
Join today to access over 22,500 courses taught by industry experts or purchase this course individually.
Write and commit in small chunks - GitHub Tutorial
From the course: Version Control for Everyone
Write and commit in small chunks
- [Instructor] Over the next several videos, we're going to look at some of the basic pieces of working with version control in a longer context. We'll start in this video, with making small commits one at a time. Our project is technical documentation for ddev local, which is a wrapper around Docker. It lets programmers work with the same versions of all the pieces of a website's text stack relatively easily. In a project, we have a READ ME, this index.markdown file, and documentation for users of ddev. I've opened these files here in Visual Studio Code and in Sublime Merge. Currently everything is untracked, so let's start by initializing the project by staging everything and committing, we'll call this the initial commit, then commit all 34 files. Now that we've done that, we can switch back to Visual Studio Code, and actually look at these files. They're written in markdown, which is one of the most popular ways…
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
-
-
-
-