---
title: "Discussion on \"My .gitignore for Node\" | Hashnode"
description: "Discussion on \"My .gitignore for Node\". # Secrets\n[Ss]ecret.*\n*.sql\n*.env\n*.env.*\n!*.env.template\n!*.env.*.template\n*.local\n\n# Setup samples\n!/setup\n\n# Temps\n**/[Tt]emp\n**/[Tt]emps\n**/.DS_Store\n**/._.DS_Store\nvite.config.*.timestamp-*\n*.log\nyarn-error.log\n\n# Packages\nnode_modules\nnode_modu..."
url: "https://hashnode.com/posts/my-gitignore-for-node/666e8b4ba868b344a91fa2a8"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [My .gitignore for Node](https://blog.shmovahhedi.com/my-gitignore-for-node?utm_source=hashnode&utm_medium=feed)

\# Secrets \[Ss\]ecret.\* \*.sql \*.env \*.env.\* !\*.env.template !\*.env.\*.template \*.local # Setup samples !/setup # Temps \*\*/\[Tt\]emp \*\*/\[Tt\]emps \*\*/.DS\_Store \*\*/.\_.DS\_Store vite.config.\*.timestamp-\* \*.log yarn-error.log # Packages node\_modules node\_modu...

Jun 16, 2024 · 1 min read · blog.shmovahhedi.com  
Read the article

-   [#gitignore](https://hashnode.com/tag/gitignore)
-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#yarn](https://hashnode.com/tag/yarn)

## Written by

[Shahab Movahhedi](https://hashnode.com/@movahhedi)

@movahhedi · Tehran, Iran 🇮🇷

  
[View profile](https://hashnode.com/@movahhedi)

Senior Developer, Designer, Technologist! 🇮🇷

Senior Developer, Designer, Technologist! 🇮🇷

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
