Skip to content

Commit ea630c1

Browse files
committed
Add .gitattributes to mark generated files for linguist
For example, you might generate code, or create a file that combines multiple files into a single file. When you include these files in the repository, they might be included in the PR, which can be distracting. So, by default, the generated files will not appear in the diff. refs: https://docs.github.com/en/repositories/working-with-files/managing-files/customizing-how-changed-files-appear-on-github
1 parent a296a70 commit ea630c1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
lib/lrama/parser.rb linguist-generated=true
2+
sig/** linguist-generated=true

0 commit comments

Comments
 (0)