Skip to content

Comments

Create .gitattributes#281

Merged
taublast merged 1 commit intomainfrom
applecam
Feb 9, 2026
Merged

Create .gitattributes#281
taublast merged 1 commit intomainfrom
applecam

Conversation

@taublast
Copy link
Owner

@taublast taublast commented Feb 9, 2026

No description provided.

Copilot AI review requested due to automatic review settings February 9, 2026 06:05
@taublast taublast merged commit 2390134 into main Feb 9, 2026
3 checks passed
@taublast taublast deleted the applecam branch February 9, 2026 06:06
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a .gitattributes file to influence GitHub Linguist language classification for the repository.

Changes:

  • Introduces .gitattributes
  • Sets a repository-wide linguist-language override to C#

@@ -0,0 +1 @@
* linguist-language=C# No newline at end of file
Copy link

Copilot AI Feb 9, 2026

Choose a reason for hiding this comment

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

Using * linguist-language=C# forces GitHub Linguist to classify every file in the repo (including .md, .sh, .ps1, .json, etc.) as C#, which will break language stats and can affect syntax highlighting in the UI. Consider scoping this to only the extensions you intend to override (e.g., *.cs, *.razor, etc.), and add explicit overrides for other file types if needed rather than applying it globally.

Suggested change
* linguist-language=C#
*.cs linguist-language=C#
*.razor linguist-language=C#

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant