Skip to content

Commit 0a83bc4

Browse files
authored
feat: Add .gitattributes to preserve shell script execution permissions (#34)
1 parent 70dd81e commit 0a83bc4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.gitattributes

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Ensure shell scripts retain executable bit
2+
*.sh text eol=lf
3+
*.sh binary
4+
5+
# Ensure entrypoint scripts retain executable bit
6+
**/docker-entrypoint.sh text eol=lf
7+
**/docker-entrypoint.sh binary
8+
9+
# Default text files to use LF
10+
* text=auto eol=lf

0 commit comments

Comments
 (0)