From the course: Dreamweaver: Working with Git Version Control

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Deleting and renaming files

Deleting and renaming files - Dreamweaver Tutorial

From the course: Dreamweaver: Working with Git Version Control

Start my 1-month free trial

Deleting and renaming files

- [Instructor] Once you start tracking files with Git it keeps a record of previously committed versions, even if you rename or delete a file. I'm in the new design branch of my test site and page2.html isn't a very descriptive name. Let's take a quick look at page2.html. It's got this image of Akihabara, and that looks a little bit squished to me. Let me just see what's going on. Go to the quick property inspector. Ah, I see that I've accidentally toggled off the size constraint. That looks a lot better, that's better. Let's just save that change. And then I want to change the name of this, I want to rename it akihabara.html. Now as soon as I've done that the name changes to green in the Git view of the files panel, and down in the Git panel we've got two entries; one is untracked akihabara.html and the other one is deleted page2.html. Now although this sounds rather counterintuitive it's Git's way of handling the renaming of a file. And if you think about it for a moment it does…

Contents