-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitattributes-ruby
More file actions
43 lines (35 loc) · 1.14 KB
/
Copy pathgitattributes-ruby
File metadata and controls
43 lines (35 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
###############################
# Git Line Endings #
###############################
# Set default behavior to automatically normalize line endings.
* text=auto eol=lf
*.{cmd,[cC][mM][dD]} text eol=crlf
*.{bat,[bB][aA][tT]} text eol=crlf
# Force bash scripts to always use lf line endings
*.sh text eol=lf
###############################
# Git Large File System (LFS) #
###############################
# Archives
*.7z filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.tar filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
# Ruby gems
*.gem filter=lfs diff=lfs merge=lfs -text
# Images
*.gif filter=lfs diff=lfs merge=lfs -text
*.jpg filter=lfs diff=lfs merge=lfs -text
*.jpeg filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.svg filter=lfs diff=lfs merge=lfs -text
# Documents
*.pdf filter=lfs diff=lfs merge=lfs -text
# Ruby language detection
*.rb linguist-language=Ruby
*.rake linguist-language=Ruby
*.gemspec linguist-language=Ruby
*.ru linguist-language=Ruby
*.erb linguist-language=HTML+ERB
*.slim linguist-language=Slim
*.haml linguist-language=Haml