From: Jannik ZANDER Date: Sat, 1 Feb 2020 08:23:08 +0000 (+0100) Subject: git attributes added X-Git-Url: https://git.zndr.dk/?a=commitdiff_plain;h=db9dc3492f8ed999248bf8888eb3e2762549b4e4;p=dotfiles.git git attributes added --- 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^