[wp-trac] [WordPress Trac] #55973: Add .gitattributes file to annotate generated files

WordPress Trac noreply at wordpress.org
Tue Jun 14 09:19:11 UTC 2022


#55973: Add .gitattributes file to annotate generated files
------------------------------+-----------------------------
 Reporter:  swissspidy        |      Owner:  (none)
     Type:  enhancement       |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+-----------------------------
 To make development on GitHub easier, we could consider adding a
 `.gitattributes` file for annotating generated files.

 The `linguist-generated` attribute can be used to mark or unmark paths
 that should be ignored for the repository's language statistics and hidden
 by default in diffs.

 See https://docs.github.com/en/repositories/working-with-files/managing-
 files/customizing-how-changed-files-appear-on-github for more details

 This came to mind when reviewing https://github.com/WordPress/wordpress-
 develop/pull/2647

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55973>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list