Skip to main content

Default ignore rules

By default, Devin Desktop indexing ignores:
  • Paths listed in .gitignore
  • Files in node_modules
  • Hidden pathnames (starting with ”.”)
Devin Desktop does not index an ignored file.

Agent access to gitignored files

By default, Devin Local can read and edit the files that .gitignore matches. To block this access, turn off the Gitignore access toggle in the Devin Local settings. The change applies to new Devin Local sessions. The block applies to the file tools of the agent. It does not apply to shell commands or to search tools.

.devinignore

To exclude additional files, add a .devinignore file to the root of your repository. It uses the same syntax as .gitignore:
.devinignore
Devin Desktop does not index the paths that .devinignore matches. Tab and DeepWiki do not use the files in these paths. .devinignore works in addition to .gitignore, so list only the paths that are not already gitignored.
.devinignore does not block the file tools of Devin Local. The agent can read, edit, and create files in these paths. To block agent access to a path, add the path to .gitignore and turn off Gitignore access.

System requirements

When first enabled, Devin Desktop will consume a fraction of CPU while it indexes the workspace. Depending on your workspace size, this should take 5-10 minutes, and only needs to happen once per workspace. CPU usage will return to normal automatically. Devin Desktop indexing also requires RAM (~300MB for a 5000-file workspace).
Devin Desktop still reads the legacy .codeiumignore filename. A .codeiumignore file has the same effect as a .devinignore file. Devin Desktop does not read the legacy .windsurfignore filename. Move the rules from a .windsurfignore file to .devinignore.