Skip to content

Generate .gitattributes file for a repository #252

@extsoft

Description

@extsoft

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions