Opened 4 years ago
Last modified 2 years ago
#55973 new enhancement
Add .gitattributes file to annotate generated files
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Awaiting Review | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Build/Test Tools | Keywords: | |
| Focuses: | Cc: |
Description
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
Change History (2)
Note: See
TracTickets for help on using
tickets.
@swissspidy could you give an example of a file you'd want to ignore or hide?