Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update gitignore to include more common files or folders #2471

Closed
1 task done
kishorliv opened this issue Jan 25, 2024 · 5 comments
Closed
1 task done

Update gitignore to include more common files or folders #2471

kishorliv opened this issue Jan 25, 2024 · 5 comments
Labels

Comments

@kishorliv
Copy link
Contributor

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

@kamilmysliwiec
Copy link
Member

Would you like to create a PR for this issue?

@kishorliv
Copy link
Contributor Author

Sure, will create a PR for this.

@micalevisk
Copy link
Member

micalevisk commented Jan 26, 2024

I guess you can pick ones from https://www.toptal.com/developers/gitignore/api/node

@kishorliv
Copy link
Contributor Author

kishorliv commented Jan 26, 2024

@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!

@kamilmysliwiec
Copy link
Member

Let's track this here #2476

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants