Created
July 14, 2022 21:21
-
-
Save cdracars/75e404998d48c04b9953141100844391 to your computer and use it in GitHub Desktop.
Pre-Commit Generate .env.example file that is sanitized.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Generate example env file from current env file. | |
sed 's/=.*/=/' .env > .env.example | |
git add .env.example |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment