mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 06:05:11 +00:00
33 lines
634 B
Markdown
33 lines
634 B
Markdown
---
|
|
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).
|
|
|
|
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
|
|
```
|