Skip to content

Commit 89f553a

Browse files
authored
Merge pull request #133 from PerfectThymeTech/marvinbuss/update_gitignore
Update gitignore
2 parents 3a3a4a2 + 1a6ca66 commit 89f553a

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

.gitattributes

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,21 @@
1-
# Basic .gitattributes for a python repo.
1+
# THIS IS ONLY FOR THE gitattributes REPOSITORY.
2+
# Handle line endings automatically for files detected as text
3+
# and leave all files detected as binary untouched.
4+
* text=auto
5+
6+
# These files are text and should be normalized (Convert crlf => lf)
7+
*.gitattributes text
8+
.gitignore text
9+
*.md text diff=markdown
10+
11+
# Exclude files from exporting
12+
.gitattributes export-ignore
13+
.gitignore export-ignore
14+
15+
# Enable syntax highlighting for files with `.gitattributes` extensions.
16+
*.gitattributes linguist-language=gitattributes
17+
*.gitattributes linguist-detectable=true
18+
*.gitattributes linguist-documentation=false
219

320
# Source files
421
# ============
@@ -27,3 +44,14 @@
2744
# with the python modules ``pickle``, ``dbm.*``,
2845
# ``shelve``, ``marshal``, ``anydbm``, & ``bsddb``
2946
# (among others).
47+
48+
# Apply override to all files in the directory
49+
*.md linguist-detectable
50+
51+
# HachiCorp Configuration Language
52+
*.hcl eol=lf
53+
54+
# Terraform
55+
*.tf text eol=lf
56+
*.tf.json text eol=lf
57+
*.tfvars text eol=lf

0 commit comments

Comments
 (0)