Skip to content

Commit

Permalink
Tell Git to use LF eol for .sh files
Browse files Browse the repository at this point in the history
Without this, `vagrant up` fails on Windows:

    containerd-linux: /tmp/vagrant-shell: ./setup.sh: /bin/bash^M: bad interpreter: No such file or directory
    The SSH command responded with a non-zero exit status. Vagrant
    assumes that this means the command failed. The output for this command
    should be in the log above. Please read the output to determine what
    went wrong.
  • Loading branch information
slonopotamus committed Mar 27, 2024
1 parent 80b9be1 commit 24b6e7c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.sh text eol=lf

0 comments on commit 24b6e7c

Please sign in to comment.