Skip to content

Commit 602724f

Browse files
committed
Add | .gitattributes for Line Endings Management
- Added `.gitattributes` file to enforce consistent line endings across all systems. - Ensures that `.sh` files use LF (Line Feed) line endings, preventing CRLF issues on Linux. - Prevents Git from modifying line endings between platforms, ensuring compatibility across Windows, Linux, and macOS. - Helps avoid issues with script execution on Linux systems due to inconsistent line endings in Git-managed files.
1 parent e9ee7fb commit 602724f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.sh text eol=lf

0 commit comments

Comments
 (0)