Adding Files to Version Control
If a new file is created with AppCode in a directory that is already under version control, it automatically adds to the active changelist with the status Added. All you have to do, is to commit this change.
AppCode's behavior on adding files is configurable in the General Settings tab of the Version Control dialog.
If a new file is created outside of AppCode, or silent adding is disabled, you have to explicitly add it to the version control.
Another approach is VCS-specific. You can import an entire directory to your repository, provided that you have the corresponding access rights. This action is helpful for putting a whole project under version control.
To explicitly add a file to version control
- Select file in the Project tool window.
- On the main Version Control menu or on the context menu of the selected file, choose <VCS> | Add.
Alternatively, use the Version Control tool window. Select the desired files in the Unversioned files changelist in the Local Changes tab, and choose Add to VCS on the context menu, or just drag it to the target changelist.
- Select the added file in the changelist and check in (commit) changes.