From the course: Complete Guide to Git

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Add, delete, and rename files

Add, delete, and rename files - Git Tutorial

From the course: Complete Guide to Git

Add, delete, and rename files

- [Instructor] In this movie, we'll continue making edits to our project by adding, deleting and renaming files. I'm going to start by adding a file. Our website has this character, Delores, and there's a quick view here that should let us see more information about Delores. Right now, that page doesn't exist, just takes me to nowhere. So what I want to do is add that page. I have it here and it's included in the exercise files. I'm just going to drag it into our project. It's called Character dash Detail dash Delores dot html. You can see that it's here, it's a new file. And if I come over here, git status tells us that it is an untracked file. Now I also got this artifact from Mac operating system, DS Store. I don't need that, I'm just going to remove that using the RM command, git status. And there we have just the Delores file. So I want to add this file. I know I could just simply add it, but I also want to add the links to it. The way to find the place that we should put the…

Contents