Skip to content

Instantly share code, notes, and snippets.

@jcefoli
Created April 9, 2018 15:59
Show Gist options
  • Save jcefoli/c4f3f245ddb8d9e2a5755de08ed527f2 to your computer and use it in GitHub Desktop.
Save jcefoli/c4f3f245ddb8d9e2a5755de08ed527f2 to your computer and use it in GitHub Desktop.
File Permissions in Git (Useful on Windows)
# Show permissions
git ls-tree HEAD
# Make Executable
git update-index --chmod=+x some_file.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment