Github & Hide Files from Commit Diffs
This is a really nice tip for tidying up git diff‘s on Github (I think it’ll work for Gitlab etc too), you can add the following line to .gitattributes file:
dist/* linguist-generated
and this will hide all files in the dist/ directory from the commit diff.
Found this useful? Everything here is free and stays that way. If it saved you an afternoon, you can buy me a coffee.