Nested gitignores
You can nest gitignores in a project to have per directory ignore files.
e.g.
a/
a/.gitignore
a/b/
a/b/.gitignore
Now a/b/.gitignore
can handle any ignoring in subdirectory b
. This helps split up responsibility to separate directories for a larger code base.
Written by Simon Walker
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
khasinski
591.1K
dmichaelavila
500.4K
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#