diff --git a/docs/shared/migration/manual.md b/docs/shared/migration/manual.md index 38403b26d181c..3306d4aed900c 100644 --- a/docs/shared/migration/manual.md +++ b/docs/shared/migration/manual.md @@ -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