forked from Kromster80/kam_remake
-
Notifications
You must be signed in to change notification settings - Fork 29
/
.gitattributes
79 lines (68 loc) · 2.04 KB
/
.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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# From this [issue](https://github.com/puphpet/puphpet/issues/1025#issuecomment-157059174):
# I know that this issue is closed, but as I spent a lot of time to understand what was going on, I made some researches and I can explain why this happen, and you can fix it.
# Using git config core.autocrlf true can help, but not on a multi-developpers project.
# This command has to be the same on each developper machine, and that's not always the case.
# You have to use the .gitattributes provided in the puphpet archive and edit it as follow (carefull, this file need to be in your project root)
# You also need to use an IDE that allow you to save/edit files as LF (like phpstorm). You can check the type of the file in the bottom right corner, in the status bar (you'll see LF or CRLF while a file is opened)
# .gitattributes
# =================================================
# These settings are for any web project
# Handle line endings automatically for files detected as text
# and leave all files detected as binary untouched.
* text=auto
#
## These files are binary and should be left untouched
#
# (binary is a macro for -text -diff)
*.dat binary
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.mov binary
*.wav binary
*.mp4 binary
*.mp3 binary
*.mp2 binary
*.mid binary
*.flv binary
*.fla binary
*.swf binary
*.gz binary
*.zip binary
*.7z binary
*.ttf binary
*.eot binary
*.woff binary
*.pyc binary
*.pdf binary
*.ez binary
*.bz2 binary
*.swp binary
*.rx binary
*.rxx binary
*.rar binary
*.pdf binary
*.cmp binary
*.mi binary
*.lbm binary
*.bbm binary
*.fnt binary
*.fntx binary
# Force the following filetypes to have unix eols, so Windows does not break them
*.md text eol=lf
# Windows forced line-endings
*.pas text eol=crlf
*.inc text eol=crlf
*.dpr text eol=crlf
*.lpr text eol=crlf
*.lpi text eol=crlf
*.ini text eol=crlf
*.txt text eol=crlf
*.iss text eol=crlf
*.xml text eol=crlf
*.log text eol=crlf
*.bat text eol=crlf
*.libx text eol=crlf
*.script text eol=crlf