Reverting Yamls

If you are using the Github app:

If you accidentally edited a default yaml, created a yaml with CAPS (all yamls must be lowercase) or created a custom yaml that you didn't need: 

Go to the github commit cat octopus icon:

 

Right click on your commit and select "discard changes"

The file will then be deleted (if you created a new one) 

or 

the file will go back to the original state (if it's already created).  

If you have already committed the change, go to the "History" tab and click on the tools icon. Select "Revert this change"