-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitattributes
24 lines (18 loc) · 668 Bytes
/
.gitattributes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# See https://git-scm.com/docs/gitattributes for more about git attribute files.
# Mark the database schema as having been generated.
db/schema.rb linguist-generated
# Mark any vendored files as having been vendored.
vendor/* linguist-vendored
# Handle Rails encrypted credentials
config/credentials/*.yml.enc diff=rails_credentials
config/credentials.yml.enc diff=rails_credentials
# Normalize line endings for Ruby, shell, and other text files
*.rb text eol=lf
*.sh text eol=lf
*.yml text eol=lf
# Ensure bin scripts use LF line endings and retain executable permissions
bin/* text eol=lf
# Handle binary files correctly
*.png binary
*.jpg binary
*.gif binary