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!
Written by Miles Johnson
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Permissions
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#