You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by il...@apache.org on 2021/02/20 07:34:34 UTC

[dubbo] branch master updated: Add gitattributes to prevent file formatting (#7229)

This is an automated email from the ASF dual-hosted git repository.

iluo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo.git


The following commit(s) were added to refs/heads/master by this push:
     new 33a547c  Add gitattributes to prevent file formatting (#7229)
33a547c is described below

commit 33a547cd2f94ca0f40a557cf0067f30c01c7b302
Author: Albumen Kevin <jh...@gmail.com>
AuthorDate: Sat Feb 20 15:34:14 2021 +0800

    Add gitattributes to prevent file formatting (#7229)
    
    * add gitattributes
    
    * pretty comment
---
 .gitattributes | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..bb5d205
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,4 @@
+# Git will understand that all files specified are not text,
+# and it should not try to change them.
+# This will prevent file formatting (such as `crlf` endings to `lf` endings) while commit.
+* -text
\ No newline at end of file