nestjs/nest-cli

Update gitignore to include more common files or folders

kishorliv opened this issue · 5 comments

Is there an existing issue that is already proposing this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe it

After creating a nest project and adding .env file, i sometimes accidentally commit it.

Describe the solution you'd like

Update gitignore to contain .env and some other common files/folders like build, .tmp, .log, etc by default.

Teachability, documentation, adoption, migration strategy

No response

What is the motivation / use case for changing the behavior?

Prevent accidentally committing important files

Would you like to create a PR for this issue?

Sure, will create a PR for this.

@micalevisk yep, i usually use it for my projects... will use most of them... it seems to be missing DS_Store, will add it too...
Edit: We already have it!

Let's track this here #2476