Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Avoiding Version Control Conflicts in IntelliJ IDEA

DZone's Guide to

Avoiding Version Control Conflicts in IntelliJ IDEA

·
Free Resource

In a team environment, it’s rather easy to run into a conflict of versions, when you are working on the same piece of source code. Now IntelliJ IDEA 7.0.x helps you avoid version conflicts, and keeps a watchful eye on the changes that you and your teammates commit to the repository.

Suppose you open a file for editing and start typing, without synchronizing your local copy first. If somebody else has already modified the same file and has committed changes to the repository, IntelliJ IDEA detects the newer version in the repository and displays a banner on top of the editor, suggesting you to view the differences between your local copy and the repository version of the file and update the file before proceeding with your changes:

[img_assist|nid=350|title=|desc=|link=none|align=left|width=598|height=73]

 

 

 

To make this feature work, click the Synchronize button in the Repository or Incoming tabs of the Changes tool window at least once prior to editing.
Information about all the changes committed to the repository, but not yet checked out locally, is also available in the Incoming tab of the Changes tool window:

[img_assist|nid=351|title=|desc=|link=none|align=left|width=622|height=122]

 

Topics:

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}