Removing, Moving and Renaming Files with Git

Video loading...

Join Drupalize.Me to watch this video

Join today and gain instant access to our entire video library.

Log in Sign up
  • 0:05
    Up until this point we've done a lot with adding files
  • 0:09
    and the changes in files to our git repository.
  • 0:13
    What I want to do in this lesson is take a look at moving files around
  • 0:16
    within the repository and removing files altogether.
  • 0:20
    We are going to take a look at some of the various commands that are used
  • 0:25
    in order to remove a file like the git rm command.
  • 0:29
    After that we are going to take a look at moving files around
  • 0:32
    and making sure that we can create a commit so that git knows that
  • 0:36
    this file was removed or moved and when it was removed.
  • 0:42
    So let's go ahead and get started with moving and removing
Loading ...

Removing, Moving and Renaming Files with Git

Loading...

This lesson takes a look at removing files from your version control system. It's generally not enough to just delete the file in the file system you also need to tell Git that it's been removed and make a commit with that information.

Additional resources: