gitattributes icon indicating copy to clipboard operation
gitattributes copied to clipboard

A collection of useful .gitattributes templates

Results 24 gitattributes issues
Sort by recently updated
recently updated
newest added
trafficstars

Terraform and hasiCorp use their own format. .tf for terraform config files .tfvars for variables. .hcl -> hasicorp config lang (general catch all for many of their products) I went...

`.tina/__generated__/` is `linguist-generated` https://tina.io/

Since adding a `.gitattributes` file to my team's repo January 11th this year, I've found myself toggling the `-diff` option a bit too frequently. Thus, I am changing our `.gitattributes`...

Not advocating for mjs, just completeness

First of all great collection! 👏 Secondly, I'm wondering if it's on purpose that you don't include a gitconfig with the diff drivers. For example the elixir gitattributes: `diff=elixir` is...

taken from [this example](https://github.com/szepeviktor/small-project/blob/master/.gitattributes) from @szepeviktor's [small-project](https://github.com/szepeviktor/small-project/) and added a couple more common config files to ignore open to improvements/suggestions and will create a PR after some time for feedback...

There should be WordPress template also as there are certain plugins that generates larger files that can be used to keep in some conditions, few plugins I know i.e. All...

The Generator combines the complete content of the individual *.gitattribute files. So, there is then duplication of content in the result. Is this an issue? i.e. "* text=auto" ordinarily will...

I initially stumbled upon this when seeing `*.ps1` has `eol=crlf`. Merged PR https://github.com/alexkaratarakis/gitattributes/pull/125 assumes that PowerShell is cross-platform and therefore shouldn't have CRLF specified, while the merged PR https://github.com/alexkaratarakis/gitattributes/pull/129 overrides...