Skip to content

Commit

Permalink
feat: Add .gitattributes to preserve shell script execution permissio…
Browse files Browse the repository at this point in the history
…ns (#34)
  • Loading branch information
erseco authored Nov 22, 2024
1 parent 70dd81e commit 0a83bc4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Ensure shell scripts retain executable bit
*.sh text eol=lf
*.sh binary

# Ensure entrypoint scripts retain executable bit
**/docker-entrypoint.sh text eol=lf
**/docker-entrypoint.sh binary

# Default text files to use LF
* text=auto eol=lf

0 comments on commit 0a83bc4

Please sign in to comment.