Ignoring directories in Git repositories on Windows

sf. picture sf. · Dec 5, 2008 · Viewed 1.1M times · Source

How can I ignore directories or folders in Git using msysgit on Windows?

Answer

stew picture stew · Dec 5, 2008

Create a file named .gitignore in your project's directory. Ignore directories by entering the directory name into the file (with a slash appended):

dir_to_ignore/

More information is here.