Adding Files to Version Control
Add files to a local repository
- Open the Version Control tool window (Alt+9) and switch to the Local Changes tab.
- Put any files in the Unversioned Files changelist under version control by pressing Ctrl+Alt+A or selecting Add to VCS from the context menu. You can either add the entire changelist, or select separate files.
If you have enabled VCS integration for your project, JetBrains Rider suggests to add each newly created file under version control (you can change this behavior in the Settings/Preferences dialog (Ctrl+Alt+S) under Version Control | Confirmation). If you want certain files to always remain unversioned, you can configure your VCS to ignore them.