Skip to content

Instantly share code, notes, and snippets.

@kolomenkin
Last active May 10, 2022 10:58
Show Gist options
  • Save kolomenkin/e431cd33608516fa4d646dc1e8c0b6e8 to your computer and use it in GitHub Desktop.
Save kolomenkin/e431cd33608516fa4d646dc1e8c0b6e8 to your computer and use it in GitHub Desktop.
git init
git commit --allow-empty -m "initial empty commit"
# Recursively set executable flags for all shell files in git:
find . -name '*.sh' -exec git update-index --chmod=+x "{}" \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment