Nuxt/docs/2.guide/2.directory-structure/2.gitignore.md

33 lines
634 B
Markdown
Raw Normal View History

---
navigation.icon: IconFile
title: ".gitignore"
description: "A .gitignore file specifies intentionally untracked files that git should ignore."
head.title: ".gitignore"
---
# Git Ignore File
A `.gitignore` file specifies intentionally untracked files that git should ignore. Learn more about it in [the git documentation](https://git-scm.com/docs/gitignore).
2021-11-21 12:31:44 +00:00
We recommend having a `.gitignore` file that has **at least** the following entries present:
```bash [.gitignore]
# Nuxt dev/build outputs
.output
.nuxt
# Node dependencies
node_modules
# Logs
logs
*.log
# Misc
.DS_Store
# Local env files
.env.*
!.env.example
```