You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2021/03/01 07:44:59 UTC

[dubbo] branch 3.0 updated: Add gitattributes to prevent file formatting (#7293)

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

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


The following commit(s) were added to refs/heads/3.0 by this push:
     new decb807  Add gitattributes to prevent file formatting (#7293)
decb807 is described below

commit decb8076c21e6f1eca7e199bd091fc78bd5eb08b
Author: Albumen Kevin <jh...@gmail.com>
AuthorDate: Mon Mar 1 15:44:41 2021 +0800

    Add gitattributes to prevent file formatting (#7293)
---
 .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