SVN+Gitee configuration version control library

software

TortoiseSVN:Downloads · TortoiseSVN

Gitee:https://gitee.com/

Steps

  1. Create a new warehouse in Gitee, set the warehouse name and template (Readme file) ;
    insert image description here

  2. Enable SVN access

    On the management page of the warehouse, select "Enable SVN access" in "Function Settings";
    insert image description here

  3. Get the svn address of the warehouse

    On the "Code" page of the warehouse, select the "Clone/Download" option, and the SVN address will appear
    insert image description here

  4. Connect to Gitee warehouse through SVN

    Select "TortoiseSVN"→"Repository Browser" from the right-click menu of the mouse, and fill in the SVN address of the warehouse in the pop-up window;
    insert image description here
    insert image description here

  5. Add a folder to the repository

    In the warehouse in Gitee, "Code" → "File" → "New Folder" to create a folder for saving files;
    insert image description here
    insert image description here

    The folder created in this way will automatically generate a .keep file (the system default), and the newly created folder in the warehouse will be seen in the repository browser, just check out the folder locally.

    Or use the following method to create a new non-empty folder locally (additional README.txt or other files), and add it to the SVN repository browser. When checking out later, you need to ensure that the checkout directory is an empty folder (add README deleted, will be generated again after checkout).

    Create a new folder locally, such as SVN_Paper, and create a new txt file in this folder, because when adding an empty folder to the repository, it will prompt "Empty folder is not supported"; select the SVN repository on the SVN repository browser page Right-click the file to add to the folder, and add the folder created in the previous step to the warehouse;
    insert image description here
    insert image description here

  6. checkout folder

    Empty the locally created folder SVN_Paper, because the folder in the repository requires an empty folder when checking out; select the folder you want to check out in the repository browser, and select "Check Out" from the right-click menu , and set the corresponding checkout folder directory.
    insert image description here
    insert image description here

  7. version control

    After the checkout is successful, the ".svn" folder will appear in the SVN_Paper folder, and the files in this folder in the repository will also be checked out to the folder. In subsequent operations, you can use the SVN operation of the right-click menu to perform version control on the corresponding files/folders.
    insert image description here

  8. Version Control Multiple Folders

    Repeat steps 5, 6, and 7 to add multiple folders to the repository and check them out locally for version control.

  9. Multi-terminal / multi-person version control

    As long as you select the same Code Cloud SVN address when connecting to the version library in step 4, you can perform synchronous version control.

Guess you like

Origin blog.csdn.net/qq_33021529/article/details/128111183