Advanced git add and .gitignore

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
    Throughout this series we've been using the git add command
  • 0:09
    in order to add files from our working directory
  • 0:12
    to git index so we can commit those files.
  • 0:16
    What I want to do in this lesson is take a look at some of the more
  • 0:18
    advanced features of the add command.
  • 0:20
    I want to look at using wild cards and other file patterns
  • 0:24
    that we can use in a git add command
  • 0:26
    in order to add a number of files all at one time.
  • 0:31
    I also want to look at some of the flags for the git add command
  • 0:34
    that allow us to deal with other scenarios like adding multiple files at a time and so forth.
Loading ...

Advanced Git Add and .gitignore

Loading...

This lessons dives deeper into the different things you can do with the `git add` command. Things like adding multiple files at a time using wildcards and staging and adding only some of the changes you've made in a file and not all of them. We'll also take a look at using a .gitignore file to exclude specific files or even patterns of files from the repository all together.