Skip to content

Commit 647e32c

Browse files
committed
Ignore diff for generated files
Avoids annoyingly having to skip through them when doing git diff.
1 parent d3c3403 commit 647e32c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Don't show changes in generated files when doing git diff
2+
3+
gen/** -diff
4+

0 commit comments

Comments
 (0)