Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # check the existing permissions , the command will show you the current file permissions like 100644
- git ls-files --stage
- # update the file permission
- git update-index --chmod=+x 'name-of-shell-script'
- # check-in the files
- git commit -m "Made a file executable"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement