What I'm trying to do is to have different versions of a file locally and in the master version of the project. So I'm including it in my .gitignore files. However I'm still getting errors when pulling and pushing commits.
To clarify this my question is the following. Are the patterns in my local .gitignore ignored when pulling requests, or are they to be ignored when pushing changes?
Thanks.