Skip to content

Commit

Permalink
feat(starters): Update .gitignore in all starters to ignore .env, .en…
Browse files Browse the repository at this point in the history
…v.development, .env.production, etc. (#18968)

* Update '.env' line in .gitignore to '.env*' so that it works for .env.development, .env.production, etc. files

* Update '.env' line in the .gitignore file of other starters to '.env*' so that it works for .env.development, .env.production, etc. files
  • Loading branch information
kellenmace authored and GatsbyJS Bot committed Oct 25, 2019
1 parent 27017c4 commit 1d65ce0
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions starters/blog/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ typings/
# Output of 'npm pack'
*.tgz

# dotenv environment variables file
.env
# dotenv environment variable files
.env*

# gatsby files
.cache/
Expand Down
2 changes: 1 addition & 1 deletion starters/default/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ typings/
# Output of 'npm pack'
*.tgz

# dotenv environment variables file
# dotenv environment variable files
.env*

# gatsby files
Expand Down
4 changes: 2 additions & 2 deletions starters/gatsby-starter-blog-theme-core/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ typings/
# Output of 'npm pack'
*.tgz

# dotenv environment variables file
.env
# dotenv environment variable files
.env*

# gatsby files
.cache/
Expand Down
4 changes: 2 additions & 2 deletions starters/gatsby-starter-blog-theme/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ typings/
# Output of 'npm pack'
*.tgz

# dotenv environment variables file
.env
# dotenv environment variable files
.env*

# gatsby files
.cache/
Expand Down
4 changes: 2 additions & 2 deletions starters/gatsby-starter-notes-theme/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ typings/
# Output of 'npm pack'
*.tgz

# dotenv environment variables file
.env
# dotenv environment variable files
.env*

# gatsby files
.cache/
Expand Down
4 changes: 2 additions & 2 deletions starters/gatsby-starter-theme/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ typings/
# Output of 'npm pack'
*.tgz

# dotenv environment variables file
.env
# dotenv environment variable files
.env*

# gatsby files
.cache/
Expand Down
4 changes: 2 additions & 2 deletions starters/hello-world/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ typings/
# Output of 'npm pack'
*.tgz

# dotenv environment variables file
.env
# dotenv environment variable files
.env*

# gatsby files
.cache/
Expand Down

0 comments on commit 1d65ce0

Please sign in to comment.