I have cloned project with it's .gitignore. Then I have placed some directories with files in it used for specific testing purposes. I don't want commit these directories to remote repository but I also don't place strange directories and files names to .gitignore in order not disturb other developers who will read .gitignore. How to solve such problem?
Ignoring files without editing .gitignore
607 Views Asked by vico At
3
You might want to create a local .gitignore_global file for this purpose. With this file you will be able to ignore your tests files for this project and the next ones.
~/.gitignore_globalgit config --global core.excludesfile ~/.gitignore_globalMore informations here https://help.github.com/articles/ignoring-files/#create-a-global-gitignore.