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

docs(misc): add .nx/workspace-data to .gitignore in manual setup #26520

Merged
merged 2 commits into from
Jun 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions docs/shared/migration/manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,14 @@ Next, we'll create a blank `nx.json` configuration file for Nx:
{}
```

## Add `.nx/cache` to `.gitignore`
## Add `.nx` directories to `.gitignore`

Next, we'll add [the Nx default cache directory](/features/cache-task-results#where-is-the-cache-stored) to the list of files to be ignored by Git. Update the `.gitignore` file adding the `.nx/cache` entry:
Next, we'll add [the Nx default task cache directory](/features/cache-task-results#where-is-the-cache-stored) and the project graph cache directory to the list of files to be ignored by Git. Update the `.gitignore` file adding the `.nx/cache` and `.nx/workspace-data` entry:

```text {% fileName=".gitignore" %}
...
.nx/cache
.nx/workspace-data
```

## Set Up Caching For a Task
Expand Down