-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathdot_gitattributes
More file actions
49 lines (48 loc) · 1.12 KB
/
dot_gitattributes
File metadata and controls
49 lines (48 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Specify how git should treat the file when diffing it.
#
# To check the effective attributes of a file, run:
#
# git check-attr -a /path/to/file
#
# See: Generating diff text <https://git-scm.com/docs/gitattributes#_diff>
#
# See: Better Git diff output <https://tekin.co.uk/2020/10/better-git-diff-output-for-ruby-python-elixir-and-more>
*.c diff=cpp
*.h diff=cpp
*.c++ diff=cpp
*.h++ diff=cpp
*.cpp diff=cpp
*.hpp diff=cpp
*.cc diff=cpp
*.hh diff=cpp
*.m diff=objc
*.mm diff=objc
*.cs diff=csharp
*.css diff=css
*.html diff=html
*.xhtml diff=html
*.ex diff=elixir
*.exs diff=elixir
*.go diff=golang
*.php diff=php
*.pl diff=perl
*.py diff=python
*.md diff=markdown
*.rb diff=ruby
*_spec.rb diff=rspec
*.rake diff=ruby
*.rs diff=rust
*.lisp diff=lisp
*.el diff=lisp
Pipfile diff=ini
*.toml diff=ini
*.ini diff=ini
dot_gitconfig.tmpl diff=ini
*.feature diff=gherkin
*.yaml diff=no-hunk-header
*.yaml.* diff=no-hunk-header
*.yml diff=no-hunk-header
*.yml.* diff=no-hunk-header
.*ignore diff=no-hunk-header
.envrc diff=no-hunk-header
.envrc.local diff=no-hunk-header