Due to external weird constraints I cannot modify the .gitignore
of my repository. Is there a way to ignore files and directories other than modifying a .gitignore
? Even if it is a global solution like a global configuration that will be applied to all my repositories.
Git – How to Ignore Files Without Using .gitignore
gitversion-control
Best Answer
If you can modify
.git/info/exclude
you can put the same rules there. But that file is within your local repo only.