Delete gen and modify gitignore file.