Skip to content

Commit

Permalink
Ignore diff for generated files
Browse files Browse the repository at this point in the history
Avoids annoyingly having to skip through them when doing git diff.
  • Loading branch information
saghul committed Sep 23, 2024
1 parent d3c3403 commit 647e32c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Don't show changes in generated files when doing git diff

gen/** -diff

0 comments on commit 647e32c

Please sign in to comment.