Skip to content

Instantly share code, notes, and snippets.

@DerfOh
Created December 21, 2016 20:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DerfOh/013482021cc1079e6bb3b2907141bb2e to your computer and use it in GitHub Desktop.
Save DerfOh/013482021cc1079e6bb3b2907141bb2e to your computer and use it in GitHub Desktop.
change execution mode of a shell script that is written on windows
git update-index --chmod=+x foo.sh

git ls-files --stage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment