Skip to content →

Tag: gitlab

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:

and this will hide all files in the dist/ directory from the commit diff.