VSS User Manual (ZZ)

xiaoxiao2021-03-06  55

1 VSS overview

???? version control is an important aspect of workgroup software development, which prevents unexpected file loss, allowing reverse tracking to earlier versions, and branch, merge, and manage versions. The control of the source code is useful when the software development and the two versions of files are required to compare two versions of the file or to find an earlier version. Visual SourceSafe is a source code control system that provides comprehensive version and configuration management capabilities, as well as security and tracking check features. The VSS is based on project development management by depositing related project documents (including text files, image files, binary files, sound files, video files) into the database. Users can share files quickly and efficiently as needed. Once the file is added to the VSS, each change will be recorded, and the user can restore the early versions of the file. Other members of the project group can also see the latest version of the document, and modify them, VSS is also the same. Record new changes. You will also find that use VSS to organize management projects, making communication and cooperation between project groups easier and intuitive. VSS can be integrated with Visual Basic, Visual C , Visual J , Visual InterDev, Visual FoxPro development environment, and Microsoft Office applications, provides easy-to-use, project-oriented version control features. Visual SourceSafe can process any file types created by various development languages, creative tools, or applications. Today, today, users can work in document and project levels at the same time. Visual SourceSafe facing project-oriented features can manage the daily tasks in the workgroup application development work.

1.1 ??? VSS Document When you want to modify a document, you need to check it out from the database, or tell VSS you want to edit the document. VSS will get the copy of the document from the database to your work folder (Working Folder), you can modify your document. If other users want to modify the same document, VSS will generate a message, tell him that the document has been checked out, so that many people will modify the document simultaneously to ensure the security of the document. When you complete the modification, you need to check the document in VSS. This operation is copied from your working folder (Working Folder) and put it back into the VSS database so that other users can see the changes in documents in time. VSS can save all changes to the document and display the latest version, and the earlier version is also tracked. VSS uses the anti-incremental technology, only requires very few disk spaces to make the user get all versions of the document. If you don't modify the document, you can execute the undo check out command, the document will be saved as the status before check out (Check Out). If you only need to read a document, you don't need to edit it, you can perform the Removal (GET) command, put your document into your work folder, then choose View Document (View) to view your documentation. version.

1.2 ??? The project project in VSS refers to the collection of all files (file) stored in the VSS database. Users can add (add), delete (delete), edit (edit), edit (edit), edit (edit), edit, edit, and share. A "Project" is largely similar to a folder of a general system, which is different to better support file merge (Archive) and version control. The file is saved in the project (Project) in the VSS database. You do not have to manage the original files stored in VSS unless you want to check or compare with other copies. VSS provides a backup file to the Working Folder for each user for users to view and edit the file. Although there is no working folder, you can also view files, but you must really implement the processing of the document, you must establish a work folder. 1.3 ??? VSS version control function VSS can save multiple versions of the file, including each slight change between file versions. The version control has the following contents: L ??? Group Cooperation - In the default, a file only allows a user to modify it at a certain time, which prevents file accidentally being accidentally subject to other users. Change or cover. But administrators can change this default setting, allowing file multiple layers to check out. This setting can also prevent excessive, unnecessary changes. L ??? Version Tracking - VSS can store the source code and other files to track the reconstruction files. L ??? Cross-platform development - In the case of multi-platform development, version tracking is used to maintain core code. L ??? The reuse of the code - the tracking program benchmark makes the code reuse.

1.4 ??? file split and sharing in VSS can implement a file by multiple project sharing (Share). Changes to files in a project can be automatically reflected in other shared projects. This is advocating code reuse. In Properties in the File menu, click Link, you can view the sharing of a file. The BRANCH is the process of separating the file from the originally shared project. It allows VSS to track files from different paths. Note: In other version of the control system, the branch is implemented by tracking version numbers. For example: version "2.3.9.2" is the ninth branch of the second revision of version 2.3. VSS implements tracking of file branches by apparent different project names. The split file is disconnected to disconnect the shared connection, so that the files in this project have nothing to do with other originally shared projects. Modifications to this file will not be reflected to other items. Split is created: Two documents have a common history, starting from achieving splitting, and their history will be tracked separately by VSS. After the file is split, the LINK will no longer display the disconnected connection, but you can use the path (Properties item in the File menu) to browse the split history. Share file is a connection to establish a file between multiple projects. The split (BRANCH) file is a different file path between the project.

1.5 ??? Working Folder VSS is a tool for storing and managing files, but editing and compiling files must be done in the VSS specified folder. This folder is called a work folder, which can be an existing folder, or a new folder for VSS. The VSS browser shows the path of the file's work folder above the file list. In the VSS system, the work folder is where you really use the document. When you want to edit or modify a document, you must implement the CHECK OUT operation on the document (see 3.3.5 Modify and editing files), and VSS copies the document from the project and puts your work folder. When you modify and check in file, VSS re-copies the file to the database to record your changes.

Once you check out the file, VSS began to create and manage your work folder on your local machine. Each user, each item or each microcomputer can have its own work folder. If Joe works on project $ / spreadsheet and $ / WordProcessor, he has the corresponding 2 different work folders. If Hanna works on the same project, she has her own work folder for each project. When you set a work folder for a project, you can use it to place your project, including the second ??? VSS client installation in the subproject.

2.1 System Conditions for Installing VSS L ??? Computer / Processor: The processor is 486dx / 66MHz or more PC recommended Pentium or more advanced processors. l ??? Memory: Windows 95 or later version Requirements 16 MB RAM (recommended 32 MB); Windows NT 4.0 requires 24 MB (recommended 32 MB). l ??? Hard disk: Client: Typical installation: 59MB; 72 MB; Installation process: 66 MB; L ??? Server: Typical installation: 128 MB; maximum installation: 141 MB; l ??? Additional hard drive requirements: Internet Explorer: Typical 43 MB, max 59 mb; MSDN: Typical 57MB, maximum 59 MBL ??? Drive: CD ROML ??? Display: VGA or Advanced Display, recommend Super VGA. l ??? operating system: Microsoft Windows 95 or later version or Microsoft Windows NT 4.0, NT requires Service Pack 3 or later (including Service Pack 3] L ??? Peripheral / Others: Microsoft Internet Explorer 4.01 Service Pack 1 (contain).

2.2 Installing the VSS Client from the Network 1) ??? Open the "Online Neighbor" Properties dialog box of the local computer; 2) ??? Click "Configure" button; 3) ??? Put "Microsoft Network User" The property is set to: Log in to the Windows NT domain, the domain name is planning; 4) ??? Add TCP / IP, NetBeui, IPX / SPX protocol; 5) ??? Restart your computer, log in to "Planning" domain; Note: Administrator For each NT user, the login password is "111", the user is logged in for the first time, the computer prompts the user to change the password. 6) ??? Find the server "VSSData" in the "Planning" domain "online neighbor" field to open the shared "VSS" folder and double-click "NetSetup"; 8) ??? According to the installer Tip begins to install.

3 ??? VSS basic use operation

3.1 Log in to the VSS ???? Click the VSS icon or run Visual SourceSafe 6.0 from the program menu to open the VSS browser. If the user logged in the VSS password and the password to log in to the PlanNing domain, the system will no longer prompt the password to enter the VSS database; if the user is different from the password set by the VSS, the system will prompt the user to enter VSS. login password. For how to modify the VSS user password, see "3.2.14 Modify User Password".

3.2 VSS browser

When you open the VSS, if you set your password, it will prompt you to enter your password. If you don't set a password, you can see the browser directly. On your browser, you can browse your database, check the project list, display the file statistics, and perform the command to operate the files and projects. The top title bar of the browser is the currently connected database. VSS uses symbols to provide relevant files and project information. The following is a common toolbar below. Here there is a lot of books for common commands, which can help you perform the operation of files quickly. In the project bar, there is a list of item lists, including information about special projects. The filebar shows a list of all files for the current project. The result bar displays the results of the operation you are performing. 3.3 VSS basic operation

3.3.1 Creating a new folder 1) ??? Select the item (superior folder) to create a new folder; 2) ??? In the File menu, select Creat Project; 3) ??? Write The name of the added folder can also be added to the new folder in the Comment column; 4) ??? Click OK.

3.3.2 Adding Folders 1) ??? Select the item (superior folder) you want to add folder; 2) ??? Select Add Files in the File menu; 3) Select Add to add in the folder list Folder; 4) Click Add, and you can make a simple note for the folder you added to you at the Comment column; 5) If you want to add together with subfolders, choose Recursive; 5) ??? Click OK, successfully added A folder with a note. Or click Close to exit the action, return the Add ?? Files dialog box, click Close.

3.3.3 Adding Files 3.3.2.1 Adding Files Using Add Commands 1) Select the folder you want to add files; 2) ??? Select Add Files in the FIL menu; 3) ??? in the file Select the file you want to add in the list; if you want to add multiple files, you can use the CTRL button or the Shift key, and select multiple files; 4) Click Add, and you can make a simple note for your added folder for your Comment. 5) Click OK. 3.3.2.2 Adding File / Folder 1 with Drag 1) Open the VSS browser to adjust its size, so that the Windows Explorer can display; 2) Open the Windows Explorer, adjust the size, make two A browser can be displayed simultaneously; 3) Select the file or folder you want to add from the Windows Explorer; 4) ??? Drag the file or folder you selected, put it in the VSS browser, the file is added Enter the project, and the added folder will use the subproject of the project.

3.3.3 Viewing Document 1) ??? Select the file you want to view in the file list; 2) ??? In the Edit menu, select View, open the dialog; 3) Select View SourceSafe's Copy of this file; 4) Click OK.

3.3.4 Creating a Work Folder In executing check in, check out, undo check out, remove the latest version (Get Latest Version) and Merge Branches, etc. Work folders must be used when commands. The work folder can be set or modified at any time, and the work folder can be set in two ways in two ways. 3.3.4.1 Specializing in Creating Work Folders 1) ??? Select the file / folder to set the work folder in the VSS browser or item list; 2) ??? Select SET in the File menu Working Folder, open dialogs; 3) ??? Select or create a folder in the resource management list; 4) ??? Click OK. 3.3.4.2 Using the Check Out Operation Setup Work Folder When the check out is executed on the file, if the file has not set a work folder, the system prompts the user to create or specify a work folder for the file, the user can The system prompts the settings for the file. 3.3.5 Modify and editing files 1) ??? In the Edit File, open the dialog box; 2) ??? Select Check Out this file and edit it in your working folder; 3) ??? Click OK. Note: If the user has set a work folder for the file, VSS will put a copy of the file into your work folder and open the file, let the user modifies and edit; if the user has not set a folder for the file, The VSS system will remind the user to set the work folder, and the user can set the work folder according to the system prompts before editing the file.

3.3.6 Mobile File / Folder 3.3.6.1 Mobile File You have only one way to move files: SHARE) to the project, then delete from the original project or DESTROY. After moving the file, historical information is still valid. But you can't use the move command to move a single file. 3.3.6.2 Moving Folder (Project) Note: To use the mobile (MOVE) command, you must first ask the administrator to set the addition (add) permissions for the mobile destination item and the destruction of the file in the source project. DESTROY) Permissions. Using the Moving Command You can reposition the subfolders and move it from a folder to another folder. This command redefines the path to the moving folder. This command cannot be renamed files; you can only implement it by executing the rename command. This movement command does not change the content of the folder or the historical information of the subfolders, which only affects the history information of the new and old superior folders. Warning: After you move a folder, you cannot reconstruct your superiors' earlier versions. The specific steps of the moving folder are as follows: 1) ??? Select the folder you want to move; 2) ??? Select Move in the File menu, open the dialog box; 3) ??? Select the target folder in the list; 4) Click OK.

3.3.7 Share File / Folder (Share) 1) ??? Select the target item you want to share in the VSS browser. 2) Open Share dialog box in the SourceSafe menu. 3) ??? Select the file you want to share in the File to Share list, if the file is not displayed, you can find it next to the item list. 4) Click Share. 5) Click Close. 3.3.8 Split file (BRANCH) 3.3.8.1 Split Shared file 1) ??? Select the file you want to split in the browser; 2) ??? in the SourceSafe menu Select Branch, open the split dialog; 3) ??? Fill in the note in Comment; 4) ??? Click OK. 3.3.8.2 Split and Sharing of Files with one step 1) ??? Select the item you want Branch / Share in the VSS browser; 2) ??? Open the Share dialog in the SourceSafe menu; 3) ??? Select the file you want to share in the File to Share list. If the file you want is not displayed, in the project list

3.3.9 Deleting / Recovery Files or Folders If you want to move a file from the VSS, you must first determine just from the project, or remove from the VSS database. You must also determine whether you want to delete the file, but make it recover, or permanently destroy it. The following three ways in VSS can be removed from the database. 3.3.3.9.1 Delete (delete) removes the file from the project. This file still exists in projects of your VSS database and other shared files, you can restore it. This order is equally applicable to the project. 1) ??? Select a file or item; 2) ??? Select the delete command in the File menu; 3) ??? Click OK. 3.3.3.9.2 Destroy Delete (DELETE) Dialog box has a permanent destruction permanently option, once you select it, files or items will be removed from the VSS database, you can't Revert them again. In addition, when the DESTROY and DESTROY Permanently commands are used to share files, it only acts on the current folder, and other shared folders still retain this file, which is still saved in the VSS database. 1) ??? Select a file or item; 2) ??? Select the delete command in the File menu; 3) ??? Select the destroy permanently option; 4) ??? Click OK. 3.3.3.9.3 Clearance This command will permanently remove the files or items you have deleted, but do not destroy it. You can use this command to empty your files or all content in the project, but you can't restore them. 1) ??? In the VSS browser; 2) Open the Properties dialog of the File menu, press DELETE Press New; 3) ??? Select the name you want to clear in the list; 4) ?? Click PURGE; 5) ??? If you want to continue, click Yes in the prompt bar of VSS. 3.3.10 Viewing the historical information of the file / folder or earlier version saves more information about each file in history information. In the History dialog, you can not only browse to file version information, note, and related history of the file, and you can also get an old version of the file. Note: Only the file (file) can CHECK OUT, and the folder from history information cannot be from CHECK OUT. You can also perform operations such as GET, Check Out, DIFF, PIN, UNPIN, ROLL BACK, and REPROT from the Historical Information dialog. To view historical information: 1) ??? In the Tool menu, select Show History, open the History Options dialog; 2) ??? Click OK.

3.3.11 Obtaining the latest version of the file 1) ??? Select the file you want to operate, or multiple files or items; 2) ??? Select Get Latest Version in the SourceSafe menu; 3)? If you don't set a work folder in advance, VSS will prompt you to set a job folder, click OK, set a work folder; 4) ??? If you have already determined the option, VSS will display Get Latest Version dialog, you can get the latest version of the file from the current project, which is placed in your work folder. 3.3.12 Overview of the Earlier Version 1) ??? Select the file you want to view; 2) Open the History Option dialog in the Tool menu; 3) ??? Click OK to open History dialog; 4) ??? Select the version you want to see; 5) ??? Click GET to open the GET dialog; 6) ??? If you don't set a work folder in advance, VSS will prompt you if you have Set a work folder, click OK, set a work folder; 7) ??? In the Take out the OK, the file version of the file will be transferred from the current project into your work folder.

3.3.13 Modify User Password Use Change Password Command to set or change your password. To change your password, you must first know the current password. If you have forgot your password, please contact your administrator. When logging in, VSS will prompt you to enter your password to confirm your identity. If the administrator is the same as the user name you set, VSS will no longer prompt you to enter your password. Note: Your VSS password can be the same as the password you use, or it can be different, which does not replace your operating system password. ???? How to change your password: 1) Open the Change Password dialog from the Tool menu; 2) ??? Type your current password in the old password box; 3) ??? In the new password box, type you New password; Note: The password can be set 1 to 15 characters, it is displayed in the form of *; 4) ??? Type a new password again in the confirmation box; 5) ??? point OK.

3.3.15 Opening / Off Database If you use VSS, your files and items are stored in a database. It saves your information safely and provides you with important historical information and version tracking. To create a new database, you should contact the VSS administrator. 3.3.15.1 Opening an existing database To run your VSS, you must connect with the database that stores your file. This step is usually done automatically by VSS unless you have other databases. If the database is not installed, please contact your administrator. 1) From the File menu, select Open SourceSafe Database, open the dialog; 2) ??? Select a database from the database list; 3) ??? Click Open to open the database. 3.3.15.2 Close the database You can only work in a database. Therefore, if you want to turn off a database, just open another database.

转载请注明原文地址:https://www.9cbs.com/read-116648.html

New Post(0)