Automating Version Control

It is a DI best practice to automate version control for each project. At the bottom of the New Project dialog box, ClosedEnable automated version control is selected by default. DI highly recommends that you keep this feature selected.

New Project Dialog Box with Enable automated version control selected

If you choose to clear the Enable automated version control box when you create a new project and you later want to enable automated version control, you can manually set it in the Project Settings tab. The same is true if you have a project that is not using automated version control.

To manually set automatic version control or make adjustments to the settings:

  1. Open the project in Workbench.

  2. Click Tools > Project Settings > Version Control.

    The ClosedVersion Control tab opens.

    Automating Version Control

    NOTE: Version control is not supported for the special 6.4 projects, that is, 6.4 DiveLine Namespace and 6.4 Production Sandbox. The Version Control tab for these project displays a Closedwarning.

    Version Control tab 64 warning

  3. Select one or more of the following:

    • Do automatic commit every x minutes—Workbench checks every x minutes for saved changes and performs a commit if needed—valid range is from 5 through 1440 minutes for a maximum of 24 hours

    • Auto-commit on project close—Workbench commits any changed files when closing the project

    • Auto-commit on file close—Workbench commits any changes to a file when the tab is closed

    • Auto-commit on file save—Workbench commits any changes to a file when the tab is saved

  4. Save the tab.

    Automated version control is set up for this project.

To adjust the default ignore patterns, see Managing Ignore Patterns.

NOTES:

  • The number of commits and the repository size displays below the settings. You might need to close and reopen the Version Control tab to update the count if this tab is open when a commit occurs.
  • Delete Project history allows you to remove the version control repository for a fresh start. This operation does not delete any existing ignore patterns or change your automated version control settings.

See also: