We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
LF
For example, add some .gitattributes rules in order to prevent CRLF conversion for bash scripts.
Related to: g3w-suite/g3w-client#181
The text was updated successfully, but these errors were encountered:
How to see what type of line endings are already in git repository?
You can use this command:
git ls-files --eol
It will output one line per file with the following information:
i/lf w/crlf attr/text=auto eol=lf file.txt
In that example, i/lf means that the file uses lf in the index, and w/crlf means it uses crlf in the working directory.
Sorry, something went wrong.
Add .gitattributes (enforce LF endings)
.gitattributes
8f03913
Add `* text=auto` in order to prevent `LF` --> `CRLF` conversion on Windows OS Closes: #69
Add .gitattributes (enforce LF endings) (#76)
8fcbe4e
Successfully merging a pull request may close this issue.
For example, add some .gitattributes rules in order to prevent CRLF conversion for bash scripts.
Related to: g3w-suite/g3w-client#181
The text was updated successfully, but these errors were encountered: