Today I Learned

tags


2023/03/19

That you can use a .gitattributes file to prevent files from appearing in GitHub diffs like so:

generated/**/* linguist-generated=true

See https://docs.github.com/en/repositories/working-with-files/managing-files/customizing-how-changed-files-appear-on-github