Git excludesfile for a branch
Git does not support per-branch excludes files You’re trying to achieve something that Git does not support. The blog post is the original source of this hoax that the Stack Overflow answer only parroted. As noted in comments under that answer, even the original blog post contains a discussion that brings out that the solution … Read more