mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
Prevent git autocrlf for bash scripts (#7949)
This commit is contained in:
parent
f721481543
commit
fa8bdafa6c
5
.gitattributes
vendored
Normal file
5
.gitattributes
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
# Set the default behavior, in case people don't have core.autocrlf set.
|
||||||
|
* text=auto
|
||||||
|
|
||||||
|
# BASH scripts shouldn't be converted since they may need to be used by Docker
|
||||||
|
*.sh text eol=lf
|
||||||
Loading…
Reference in New Issue
Block a user