3 # Remove modified *.po *.pot files when they are not staged for commit
4 # In case one file type doesn't exist in the directory, the whole command
5 # exits with an error, so splitting into two commands.
6 git checkout
*.po
2>/dev
/null
7 git checkout
*.pot
2>/dev
/null
9 # Remove ignored *.pot files
10 git clean
-f -q -x *.pot
>/dev
/null