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

Feature Request: .gitattributes generator #405

Open
6 of 10 tasks
suft opened this issue Nov 5, 2024 · 5 comments · May be fixed by #408
Open
6 of 10 tasks

Feature Request: .gitattributes generator #405

suft opened this issue Nov 5, 2024 · 5 comments · May be fixed by #408
Assignees

Comments

@suft
Copy link
Contributor

suft commented Nov 5, 2024

Check list

  • I have read through the README
  • I have the latest version of forgit
  • I have searched through the existing issues

Environment info

  • OS
    • Linux
    • Mac OS X
    • Windows
    • Others:
  • Shell
    • bash
    • zsh
    • fish

Problem / Steps to reproduce

@sandr01d
Copy link
Collaborator

sandr01d commented Nov 5, 2024

I think this would be a nice improvement. Is this something you would like to implement yourself?

@cjappl
Copy link
Collaborator

cjappl commented Nov 5, 2024

Can you give a high level overview of what this file is, and what it is used for?

@sandr01d
Copy link
Collaborator

sandr01d commented Nov 5, 2024

Can you give a high level overview of what this file is, and what it is used for?

.gitattributes is used to tell git how to treat files matching a pattern. One of the most widely spread use cases is telling git whether a file type should be treated as binary or text file. This is especially useful when using git lfs. You can also use this for things like defining the line ending based on file type. For more details, see this.

@cjappl
Copy link
Collaborator

cjappl commented Nov 5, 2024

Thanks @sandr01d !

@suft
Copy link
Contributor Author

suft commented Nov 5, 2024

I think this would be a nice improvement. Is this something you would like to implement yourself?

@sandr01d You could give it a try. If not I could try implementing it.

@sandr01d sandr01d linked a pull request Nov 12, 2024 that will close this issue
15 tasks
@sandr01d sandr01d self-assigned this Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants