There are a bunch of files in my project that are sometimes modified but always shared among many different branches. Examples include build scripts, batch files that include p
You can achieve the same affect as .gitignore files by setting the skip-worktree bit of tracked files.
git update-index --skip-worktree
Git will now pretend that your files are up-to-date.