mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
f26a801775
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Daniel Roe <daniel@roe.dev>
33 lines
678 B
Markdown
33 lines
678 B
Markdown
---
|
|
title: ".gitignore"
|
|
description: "A .gitignore file specifies intentionally untracked files that git should ignore."
|
|
head.title: ".gitignore"
|
|
navigation.icon: i-ph-file-duotone
|
|
---
|
|
|
|
A `.gitignore` file specifies intentionally untracked files that git should ignore.
|
|
|
|
:read-more{icon="i-simple-icons-git" color="gray" title="the git documentation" to="https://git-scm.com/docs/gitignore" target="_blank"}
|
|
|
|
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
|
|
```
|