Basic introduction to SVN \ Server configuration

Source: Internet
Author: User
Tags svn update

# # 1. Work Scenario 1. The first thing you need to do to get into the company is to ask the project manager for the SVN server address + username + password

# # 2. Role interpretation
> server: For all versions of the code, for the client upload download updates
> Client: Upload local code via client download
> username/Password: Verify the identity of personnel, determine whether there are operational rights;

# # 3. Basic operations in project development
> 1. Project manager initializes the project structure and uploads it to the server
> 2. Program ape Download a full code to local based on address + username + password
> 3. Start development, after the task is completed, submit the task code to the server
> 4. Update other colleagues ' code from the server to local

# # 4. The above operation corresponds to the SVN operation embodied
> 1. SVN import (done by the project manager)
> 2. SVN checkout: Download all the code for the server corresponding project to local
> 3. SVN commit: Submit the latest local code to the server
> 4. SVN update: Updating the latest modified code from the server


# # 5. Version control Policy (supplemental)
> SVN: Update-Modify-merge
* Cons: Conflicts are prone to merging
> Other versioning Strategies: lock-Modify-unlock * drawbacks: cannot be developed in parallel 1. Server role
> for storing/Backing up individual versions of code
> for clients to download/upload/delete code

2. Server Environment Setup

Direct configuration under Mac ([Mac installs SVN] (http://tycomputer.iteye.com/blog/1963764)), ([Mac config SVN server] (http://blog.csdn.net/ q199109106q/article/details/8655204)

Installing Visual SVN server under Windows ([Visual SVN Server] (http://www.visualsvn.com/server/download/)

* Because as a newcomer to the company can not touch the server, and most companies use Windows as a server, so here only the second, for learning to test the use of!*

3. Installation Steps

> Full "Next", Fool-mounted.

4. The role of several options in the control area

> Repository
-code repository: Store different versions of code
> Users
-User list: Create or delete users, use the code warehouse when setting access rights
> Groups
-Grouped lists: Group users and enable code warehouse access authorization actions for each group
5. Access Testing

> can be accessed via the browser, enter the code warehouse address
-Note: When accessing the client browser, note that the address needs to use the corresponding IP address and cannot use the computer name.


6. Operation Supplement

View IP addresses under Windows
Run cmd start
Run ipconfig on the command line

Basic introduction to SVN \ Server configuration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.