Explorar o código

Create a gitattributes file

When creating an archive, the GitHub repository and VCS-specific files
are now ignored.
The diff "hunk header" is customized for C/C++ [1].

[1]: https://git-scm.com/docs/gitattributes#_defining_a_custom_hunk_header
Antonin Décimo %!s(int64=5) %!d(string=hai) anos
pai
achega
88d2c52d10
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      .gitattributes

+ 5 - 0
.gitattributes

@@ -0,0 +1,5 @@
+.git* export-ignore
+.hg* export-ignore
+*.c diff=cpp
+*.cpp diff=cpp
+*.h diff=cpp