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.
Adding and removing files - GitHub Tutorial
From the course: Version Control for Everyone
Adding and removing files
- [Instructor] In this video, we're going to look at what happens when you manipulate entire files, adding deleting or renaming. The exercise files for this video, I have a file called migrating.md going to select that and copy it, because I want to copy it into my D DevDocs project. We'll open up the Users folder. And I'll paste it right here. So now we have a new file. And over here on sublime merge, I can see I have actually two unstaged files, we'll deal with that in just one second. Here's my migrating.md file. So this is a new file, everything in it is totally new. So just as we've seen before, I can stage this and then commit it. Here I've added the migration file. This dot D S store file is an artifact of macOS. And we actually don't want these files to be tracked, I don't want them to show up in here at all. Basically what I want get to do is ignore this file. And as luck would have it, there's a file called…
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)
-
-
-