From f40df58cde5ab85e528cb680b2f83e15e5f88f55 Mon Sep 17 00:00:00 2001 From: Kev Date: Sat, 12 Feb 2022 23:18:05 +0100 Subject: [PATCH] Ignore environment files Files matching .env* should probably never be committed as they are environment-specific and likely contain passwords. As people use this repository as a template, this ignores environment files to prevent accidental commits of them. --- .gitignore | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index 783604f..b5e549d 100755 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,7 @@ main # Dependency directories vendor + +# Environment files +.env* +!.env.example