mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Prevent git autocrlf for bash scripts (#7949)
This commit is contained in:
committed by
Soumith Chintala
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
|
Reference in New Issue
Block a user