What is syntax for ignoring a directory in Git?
When I want to add an entire directory to my .gitignore, what is the syntax? The directory-to-ignore is in my root directory.
Should it be:
One Solution collect form web for “What is syntax for ignoring a directory in Git?”
just add the directory to the .gitigore like:
so, option 2 is correct