Skip to content

Add .gitattributes file to manage line endings and binary files#55

Merged
javidahmed64592 merged 1 commit intomainfrom
add-gitattributes
May 2, 2026
Merged

Add .gitattributes file to manage line endings and binary files#55
javidahmed64592 merged 1 commit intomainfrom
add-gitattributes

Conversation

@javidahmed64592
Copy link
Copy Markdown
Owner

This pull request adds a .gitattributes file to the repository to standardize line endings and properly handle binary files. This helps prevent issues with inconsistent line endings across different operating systems and ensures binary files are not corrupted by Git.

Repository configuration improvements:

  • Added a .gitattributes file that enforces automatic normalization of line endings for text files and specifies LF endings for common code and configuration file types.
  • Marked common binary file types (such as images and fonts) to be treated as binary by Git, preventing line ending conversion or corruption.

@javidahmed64592 javidahmed64592 merged commit 9c5c78d into main May 2, 2026
12 checks passed
@javidahmed64592 javidahmed64592 deleted the add-gitattributes branch May 2, 2026 02:31
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