Skip to content

Conversation

@mhucka
Copy link
Collaborator

@mhucka mhucka commented Dec 30, 2025

IMHO it's useful to see Markdown files as one of the types of files listed on the GitHub front page in the file statistics section, alongside other files. It gives a sense for the amount of documentation present in a project.

On the other hand, some configuration files are not useful to count, such as .md files in a .gemini/ subdirectory and configuration files for tools like git.

IMHO it's useful to see Markdown files as one of the types of files
listed on the GitHub front page in the file statistics section,
alongside other files. It gives a sense for the amount of documentation
present in a project.

On the other hand, some configuration files are not useful to count,
such as .md files in a `.gemini/` subdirectory and configuration files
for tools like git.
@github-actions github-actions bot added the size: S 10< lines changed <50 label Dec 30, 2025
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adjusts GitHub's file statistics by adding a .gitattributes file. The change makes Markdown files count towards language statistics and excludes various configuration files. My review identifies an opportunity to simplify the configuration by removing redundant overrides for files that GitHub's Linguist already excludes by default. This will improve the maintainability of the .gitattributes file.

@mhucka mhucka changed the title Adjust GitHub's file statistics Add .gitattributes file for project Jan 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: S 10< lines changed <50

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant