Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. # check the existing permissions , the command will show you the current file permissions like 100644
  2. git ls-files --stage
  3.  
  4. # update the file permission
  5. git update-index --chmod=+x 'name-of-shell-script'
  6.  
  7. # check-in the files
  8. git commit -m "Made a file executable"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement