I have python scripts which generate and modify different xml-files. They work so that they open a file, create an ElementTree object based on it, try to modify object\'s conten
You can do git add for all affected files, after that it stops displaying them as modified in git status (and doesn't actually stage them for commit if there are no changes). At least that worked for me (I'm using git 2.8.1).