From db9dc3492f8ed999248bf8888eb3e2762549b4e4 Mon Sep 17 00:00:00 2001 From: Jannik ZANDER Date: Sat, 1 Feb 2020 09:23:08 +0100 Subject: [PATCH] git attributes added --- .config/git/attributes | 21 ++++++++++++--------- .config/git/config | 1 + 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/.config/git/attributes b/.config/git/attributes index db895c5..1816133 100644 --- a/.config/git/attributes +++ b/.config/git/attributes @@ -1,18 +1,21 @@ # Default -#* text=auto +* text=auto !eol # Text files that should be normalized (CRLF => LF) -#*.c text -#*.h text +*.c text +*.h text +*.md text +*.txt text # Text files with fixed EOL=LF -#*.sh text eol=LF +*.sh text eol=LF # Text files with fixed EOL=CRLF$ -#*.bat text eol=CRLF -#*.ahk text eol=crlf -#*.vcproj text eol=crlf +*.bat text eol=CRLF +*.ahk text eol=crlf +*.vcproj text eol=crlf # Binary files -#*.reg binary -#*.exe binary +*.jpg -text +*.exe -text +*.reg -text diff --git a/.config/git/config b/.config/git/config index a868be1..7ad824b 100644 --- a/.config/git/config +++ b/.config/git/config @@ -52,6 +52,7 @@ st = status ls = ls-files cl = clone --recurse-submodules -j8 + dt = cloner = clone --recursive dt = difftool mt = mergetool undo = reset --soft HEAD^ -- 2.43.0