To force a commit of the generated files the correct commands are:

make select-gen-for-commit
git commit -a
make deselect-gen-for-commit