Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gitattributes documentation #16

Open
seanpm2001 opened this issue Sep 7, 2021 · 0 comments
Open

Gitattributes documentation #16

seanpm2001 opened this issue Sep 7, 2021 · 0 comments
Labels
documentation Improvements or additions to documentation Question about Git For my questions on Git.

Comments

@seanpm2001
Copy link
Owner


Gitattributes documentation

I have grown to like Gitattributes files. Something has always confused me about them though, which is how the -linguist-detectable works, but using linguist-documentation on true never works.

Here is an example:

Working YAML detection

*.yml linguist-detectable=true
*.yml linguist-documentation=false
*.yaml linguist-detectable=true
*.yaml linguist-documentation=false

Non-Working YAML detection

*.yml linguist-detectable=true
*.yml linguist-documentation=true
*.yaml linguist-detectable=true
*.yaml linguist-documentation=true

What does documentation mean in this sense?


@seanpm2001 seanpm2001 added documentation Improvements or additions to documentation Question about Git For my questions on Git. labels Sep 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation Question about Git For my questions on Git.
Projects
None yet
Development

No branches or pull requests

1 participant