I'm working on a project that contains a git submodule. I make a new branch in the submodule to make some changes. Then I try to commit my changes, but under the change list, the submodule is listed. If I commit and push, the submodule branch is changed for everyone using the repo, not just me. I can deselect the submodule in the change list, in which case the branch change is not pushed to the repo. Is there a way I can do this without deselecting this on every commit? I tried adding the submodule directory to the gitignore and that had no effect.