Files
developer-roadmap/src/data/roadmaps/git-github/content/git-attributes@CGj_UX5JMOOCKinedsNRc.md
T
Stavros Siamantasanddsh 0d5355018b Add content to git/github roadmap (up to git-worktree) (#6587)
* Add content to git/github roadmap (up to git-worktree)

* Apply suggestions from code review

add links to topics with no links.

---------

Co-authored-by: dsh <daniel.s.holdsworth@gmail.com>
2024-08-16 08:14:10 +01:00

1.0 KiB

Git Attributes

Git attributes are settings stored in the .gitattributes file, controlling how Git handles files in your repository. They can influence filtering (e.g., ignoring specific files), conversion (formatting or transforming files during Git operations), and formatting (applying consistent styles). These settings can be applied to specific file types (like *.txt) or filter files based on content patterns. Attributes also define smudge patterns (highlighting differences) and ignore patterns, helping maintain a clean repository by automatically applying intended settings for certain file types.

Visit the following resources to learn more: