Last Updated: February 25, 2016
·
800
· milesj

Making scripts writable through Git

Since I work on a Windows machine, I sometimes run into cases where my bash files aren't executable once the repository is checked out, or when the project is run through Travis.

The following command will make a file writable.

git update-index --chmod=+x path/to/file

Simply commit and test!