Very useful if you need, for example, to igonre the .idea
directory in all your projects and not add it to each project’s .gitignore
explicitly. To do so execute the following:
1 2 |
|
That’s it. Now the global .gitignore
will act just like the project’s .gitignore
.