Skip to content

Instantly share code, notes, and snippets.

@ghostzero
Created June 25, 2022 21:44
Show Gist options
  • Select an option

  • Save ghostzero/c37ac67ec1bbf7d0a1c8bf1c4b46b23b to your computer and use it in GitHub Desktop.

Select an option

Save ghostzero/c37ac67ec1bbf7d0a1c8bf1c4b46b23b to your computer and use it in GitHub Desktop.
Make File Executable on Windows

The following command adds user execute permission to an arbitrary file:

git update-index --chmod=+x <file>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment