How do I check yaml and other config files to my code repository


How do I check yaml and other config files as well as the generated test files to my code repository?


The technical answer to this question is to just git add <file> in your repo, but there is some nuance to this. For things like Mayhemfiles, it’s best to have a “/fuzz” directory in your source code repository, with individual targets as subdirectories of this directory. A Mayhemfile should be included for each target, and you should also include targets or hooks in your Makefile/ to build and upload fuzz targets to Mayhem. Finally, you can keep your corpus directories in each target directory. If you are creating docker images, create a root level “/corpus” directory and copy your corpus into your image.