Skip to content

Commit dc5f9da

Browse files
committed
chore: 🔧 add .gitattributes & .gitignore
1 parent 3ad3d3d commit dc5f9da

File tree

2 files changed

+59
-0
lines changed

2 files changed

+59
-0
lines changed

.gitattributes

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# See this article for reference: https://help.github.com/articles/dealing-with-line-endings/
2+
# Refreshing repo after line ending change:
3+
# https://help.github.com/articles/dealing-with-line-endings/#refreshing-a-repository-after-changing-line-endings
4+
5+
# Handle line endings automatically for files detected as text
6+
# and leave all files detected as binary untouched.
7+
* text=auto
8+
9+
#
10+
# The above will handle all files NOT found below
11+
#
12+
# These files are text and should be normalized (Convert crlf => lf)
13+
# Use lf as eol for these files
14+
.editorconfig text eol=lf
15+
.gitignore text eol=lf
16+
*.css text eol=lf
17+
*.df text eol=lf
18+
*.htm text eol=lf
19+
*.html text eol=lf
20+
*.java text eol=lf
21+
*.js text eol=lf
22+
*.json text eol=lf
23+
*.jsp text eol=lf
24+
*.jspf text eol=lf
25+
*.md text eol=lf
26+
*.properties text eol=lf
27+
*.scss text eol=lf
28+
*.sh text eol=lf
29+
*.tld text eol=lf
30+
*.ts text eol=lf
31+
*.txt text eol=lf
32+
*.xml text eol=lf
33+
34+
# These files are binary and should be left untouched
35+
# (binary is a macro for -text -diff)
36+
*.class binary
37+
*.dll binary
38+
*.ear binary
39+
*.gif binary
40+
*.ico binary
41+
*.jar binary
42+
*.jpg binary
43+
*.jpeg binary
44+
*.png binary
45+
*.so binary
46+
*.war binary

.gitignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# IDE files
2+
.idea/
3+
.vscode/
4+
!.vscode/launch.json
5+
!.vscode/tasks.json
6+
7+
# Composer
8+
composer.phar
9+
/vendor/
10+
11+
# Misc
12+
.DS_Store
13+
.wakatime-project

0 commit comments

Comments
 (0)