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

Adding and removing files - GitHub Tutorial

From the course: Version Control for Everyone

Start my 1-month free trial

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…

Contents