TortoiseSVN with VisualSVN Server to build a version control system SVN

The film focuses on how to build a version control system SVN, the main tools:

  1 Client: TortoiseSVN (Little Turtle)

  2 server: VisualSVN Server

Build a graphical management, and right-click menu SVN version control management systems.

background knowledge

  We must first understand SVN is a version control system for centralized management code, the principle is

  The code are saved to a fixed location, each copy update code, edited from this position; modified code then submitted to the directory.

  Multiplayer collaborative development as well.

  Hence the need for a similar Oracle or Mysql server for storing and managing library files (files you want to save the code, etc.) of the server --VisualSVN Server.

  Also it requires a user operating end for submission to update detecting code, commonly used in Svn Eclipse plug-ins, and TortoiseSVN (small turtles).

  It is recommended to use TortoiseSVN and VisualSVN with use.

  ToroiseSVN Download: http: //tortoisesvn.net/downloads.html

  VisualSVN Server Download: https: //www.visualsvn.com/server/download/

How to install VisualSVN Server

  First Quguan network to download the corresponding operating system installation files digits:

  Then double-click the installation file:

  Accept the installation

  The default selection to the first item is to install VisualSVN Server and Console.

  The last one is automatically added to the environment variable.

  Select standard installation (free), you can.

  Confirm the installation directory location of the file, and code libraries (your code where you want to save), once the location of the code library files are deleted, they can powerless.

  Can be installed

  Confirmed directly open the Control Manager interface.

  Installation is complete, open automatically control management interface.

How to install TortoiseSVN (Little Turtle)

  Download the installation file through the official website

  Double-click the installation

  The next step

  Click accepted, the next step

  The default, the next step

  installation

  Complete the installation in any directory location, right you can see more than two menus.

Create a repository

  First Right Repositories, create a resource library

  Type create FSFS repository can be, according to the official statement, VDFS FSFS is based on a distributed storage type.

  Named to the repository:

  Create an empty repository, or create a resource library with a trunk braches tags directory. General use their own words, the first one on it.

  Assign permissions to all users

  Created repository, URL address records repository, the repository will be connected using the address change later.

  Create users, set user password

 

How to manage the code

  In the first position you want to download the code, right-click SVN Checkout

  Fill in the repository URL, as well as native code folder name. You can select all detected, or detected in accordance with a specific version number.

  User Authentication

  After detection is complete, find a local folder in more than one folder.

  Folder contains a hidden file .svn for recording SVN version control information needed.

  In order to facilitate testing, create a Notepad file in the folder, right click and choose SVN commit submit.

  Note: Only install TortoiseSVN client tools, in the corresponding checkout directory, the right-click menu appears.

  Click OK to submit

  Submit completed.

  Refresh the repository can be found, as well as documents submitted to the server.

 

reference

  "Version control of the Road"

Reproduced in: https: //my.oschina.net/u/204616/blog/545393

Guess you like

Origin blog.csdn.net/weixin_33981932/article/details/91990037