Skip to content

Instantly share code, notes, and snippets.

@asbiin
Created November 10, 2020 07:49
Show Gist options
  • Select an option

  • Save asbiin/fde16dfdbb4e2d104cf92784f2348c7e to your computer and use it in GitHub Desktop.

Select an option

Save asbiin/fde16dfdbb4e2d104cf92784f2348c7e to your computer and use it in GitHub Desktop.
Create exec fil in git on Windows
git update-index --chmod=+x foo.sh
for f in $(find . -name "*.sh"); do git update-index --chmod=+x $f; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment