https://github.com/ilyar/.gitattributes
.gitattributes — Defining attributes per path
https://github.com/ilyar/.gitattributes
gitattributes
Last synced: 11 days ago
JSON representation
.gitattributes — Defining attributes per path
- Host: GitHub
- URL: https://github.com/ilyar/.gitattributes
- Owner: ilyar
- Created: 2019-08-23T09:15:17.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-23T09:45:26.000Z (over 6 years ago)
- Last Synced: 2025-10-23T19:52:47.686Z (4 months ago)
- Topics: gitattributes
- Homepage: https://github.com/ilyar/.gitattributes
- Size: 1000 Bytes
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# .gitattributes
```text
# Customizing Git - Git Attributes https://git-scm.com/book/en/v2/Customizing-Git-Git-Attributes
# gitattributes - Defining attributes per path https://git-scm.com/docs/gitattributes
# pattern attr1 attr2 ...
# Each line in gitattributes file is of format
* text=auto
# Handle line endings automatically for files detected as text and leave all files detected as binary untouched
# Overwrites the local `core.autocrlf` settings, which ensures uniform behavior
*.css linguist-vendored
*.scss linguist-vendored
*.js linguist-vendored
# Uses the open source Linguist library to determine file languages for syntax highlighting and repository statistics
# Some files are hard to identify, and sometimes projects contain more library and vendor files than their primary code
# https://stackoverflow.com/a/34715182/3123272
CHANGELOG.md export-ignore
# You can tell Git not to export certain files or directories when generating an archive
# Now, when you run `git archive` to create a tarball of your project, that directory won’t be included in the archive
```