IntelliJ IDEA 2017.1 Help

Resolving Conflicts with Perforce Integration

As described in the section Resolving Conflicts, the conflicts might occur in course of team work. Perforce integration makes use of the following commands:

  • Resolve enables you to resolve a conflict to a specific file.
  • Resolve All applies to all files in a changelist that have merge status.

To resolve conflicts for the files under Perforce version control

  1. In the Local Changes tab of the Version Control tool window, select a conflicting file, or a whole conflict node.
  2. On the context menu of the selection, choose Resolve or Resolve All. Files Merged with Conflicts dialog box appears.
  3. If you want to accept server version and overwrite your local changes, click Accept Theirs. If you want to force your changes to the repository, click Accept Yours. Clicking Merge opens the merge tool, where you can accept or discard each change individually.
  4. Once the conflicts are successfully resolved, commit your local version to the repository.

See Also

Last modified: 18 July 2017