Skip to content

Add .gitattributes file for project - #974

Merged
mhucka merged 4 commits into
quantumlib:mainfrom
mhucka:mh-add-gitattributes
Jan 5, 2026
Merged

Add .gitattributes file for project#974
mhucka merged 4 commits into
quantumlib:mainfrom
mhucka:mh-add-gitattributes

Conversation

@mhucka

@mhucka mhucka commented Dec 30, 2025

Copy link
Copy Markdown
Collaborator

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

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

Copy link
Copy Markdown
Contributor

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.

Comment thread .gitattributes Outdated
@mhucka mhucka changed the title Adjust GitHub's file statistics Add .gitattributes file for project Jan 1, 2026
@mhucka
mhucka added this pull request to the merge queue Jan 5, 2026
Merged via the queue into quantumlib:main with commit 2cac538 Jan 5, 2026
28 checks passed
@mhucka
mhucka deleted the mh-add-gitattributes branch January 5, 2026 20:08
mhucka added a commit to mhucka/qsim that referenced this pull request Jan 18, 2026
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.
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.

2 participants