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

Generate .gitattributes file for a repository #252

Open
extsoft opened this issue Apr 6, 2020 · 0 comments
Open

Generate .gitattributes file for a repository #252

extsoft opened this issue Apr 6, 2020 · 0 comments

Comments

@extsoft
Copy link
Contributor

extsoft commented Apr 6, 2020

A problem/task I want to solve

I need to declare a specific Git behavior for the concrete files types like to treat .png files like binaries and checkout scripts (.sh, .bash, etc.) with LF` line endings.

The solution I'd like

I need a command that generates and commits .gitattributes file in the current Git repository.

Additional context

More info about some implementation hints on https://help.github.com/en/github/using-git/configuring-git-to-handle-line-endings#per-repository-settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant