add a line ignore = dirty in .gitmodules