From 0c09dd35264e3426af157b41c5aacd945485c464 Mon Sep 17 00:00:00 2001 From: acoder77 <73009264+acoder77@users.noreply.github.com> Date: Sat, 17 Oct 2020 12:13:49 +0530 Subject: [PATCH] Git: Create .gitattributes for windows line endings (#28340) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With this set, Windows users will have text files converted from Windows style line endings (\r\n) to Unix style line endings (\n) when they’re added to the repository. https://www.edwardthomson.com/blog/git_for_windows_line_endings.html --- .gitattributes | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000000..176a458f94e --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto