aboutsummaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorHisiste <38370207+Hisiste@users.noreply.github.com>2023-04-19 07:35:42 -0600
committerGitHub <noreply@github.com>2023-04-19 07:35:42 -0600
commit69e3906b34243346222d5a9d4c048c6cc90ed47b (patch)
treeb9685c352b595160202f98682bc4baaa0ed564c5 /.gitattributes
downloadpersonal-web-69e3906b34243346222d5a9d4c048c6cc90ed47b.tar.gz
personal-web-69e3906b34243346222d5a9d4c048c6cc90ed47b.zip
Initial commit
Diffstat (limited to '')
-rw-r--r--.gitattributes16
1 files changed, 16 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..262d6bd
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,16 @@
+# Set default behavior to automatically normalize line endings.
+* text=auto
+
+# Force bash scripts to always use LF line endings so that if a repo is accessed
+# in Unix via a file share from Windows, the scripts will work.
+*.sh text eol=lf
+
+# Force batch scripts to always use CRLF line endings so that if a repo is accessed
+# in Windows via a file share from Linux, the scripts will work.
+*.{cmd,[cC][mM][dD]} text eol=crlf
+*.{bat,[bB][aA][tT]} text eol=crlf
+
+# Denote all files that are truly binary and should not be modified.
+*.png binary
+*.jpg binary
+*.ico binary