lib/rails/generators/rails/app/templates/gitignore.tt in railties-7.1.0.beta1 vs lib/rails/generators/rails/app/templates/gitignore.tt in railties-7.1.0.rc1

- old
+ new

@@ -5,9 +5,13 @@ # git config --global core.excludesfile '~/.gitignore_global' # Ignore bundler config. /.bundle +# Ignore all environment files (except templates). +/.env* +!/.env*.erb + # Ignore all logfiles and tempfiles. /log/* /tmp/* <% if keeps? -%> !/log/.keep