The checked out libmysqlclient/mysql/version.h will be overwritten during the build process but these changes should be ignored. To do this automatically, run: git update-index --assume-unchanged libmysqlclient/mysql/version.h