Intellij IDEA Tutorial (six) SVN use

A. Download SVN

TortoiseSVN official website to download , then download and install
Here Insert Picture Description

Two .idea configuration svn

Open Settings, find the following settings page, select the directory just installed, click Save on it.
Here Insert Picture Description

III. Svn download from the project to the local

Select the VCS in the top toolbar - check from version control - subversion
Here Insert Picture Description
in the pop-up box, click the plus sign and enter the remote svn address and click OK, you can download
Here Insert Picture Description

IV. Update code

Develop good habits, be sure to update your code before submitting the code to avoid conflicts
click on the file, right - Subversion - Update File, then pop up a confirmation box, click OK on it
Here Insert Picture Description

V. commit code

File font color is blue and then the repository is not the same need to submit
click on the file, right - Subversion - Commit File, then pop up a confirmation box, click OK on
Here Insert Picture Description
the pop-up box, type, content submission, and after the svn version and modification contrast, the confirmation click on the submit button, and then color files into black font.
Here Insert Picture Description

VI. To resolve the conflict and consolidation

Causes of the conflict, for example, save a method js files, you can also modify the save method, others can then modify the save method, and others submitted a complete change, you will have to update down the conflict, this time on the need to merge.
This currently no shots, so when conflicts arise later in the screenshot impress him.

VII. New projects submitted to SVN

Click to select the top menu item to the SVN VCS Management
Here Insert Picture Description

Select svnHere Insert Picture Description

Here Insert Picture Description
Project files are hosted explained that it had become red to SVN, and
then right project, select svn-> share Directory
Here Insert Picture Description
then select the following, click share to complete.
Here Insert Picture Description
After completing the file will turn green
Here Insert Picture Description
and then you need to submit documents to the SVN up,

Project Right svn-> commit Directory

Here Insert Picture Description
Then fill out the submission information, click submit commit
Here Insert Picture Description
occurs under the map on the instructions for submitting completed.
Here Insert Picture Description
After submitting the complete file font color to black, green font file code does not need to be submitted to svn
Here Insert Picture Description

Published 75 original articles · won praise 44 · views 510 000 +

Guess you like

Origin blog.csdn.net/u013254183/article/details/105292990