Add files to Git and track changes

Last modified: 22 November 2024

If you have enabled Git integration for your project, JetBrains Rider suggests adding each newly created file under version control. You can change this behavior in the Settings dialog under Version Control | Confirmation. If you want certain files to always remain unversioned, you can configure Git to ignore them.

All the settings files in the .idea directory should be put under version control except workspace.xml, which stores your local preferences. The workspace.xml file should be marked as ignored by VCS.