-
-
Save numberwhun/62794e25a854ab8d20d29c371a9af4d7 to your computer and use it in GitHub Desktop.
An example .gitattributes file that will configure custom hunk header patterns for some common languages and file formats. Raw
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*.c diff=cpp | |
*.h diff=cpp | |
*.c++ diff=cpp | |
*.h++ diff=cpp | |
*.cpp diff=cpp | |
*.hpp diff=cpp | |
*.cc diff=cpp | |
*.hh diff=cpp | |
*.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 | |
*.rake diff=ruby | |
*.rs diff=rust | |
*.lisp diff=lisp | |
*.el diff=lisp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment