SVN
role
Centralized version control requires networking and a global version number. A team consists of product, UI, development, testing, operation and maintenance. Each member has output in his work, including documents and codes, which need to be managed in a centralized manner according to the project. SVN can be managed by directory
Download and install
The Tortoise SVN download address: www.visualsvn.com/visualsvn/d…
Localization package download address: tortoisesvn.net/downloads.h…
operation
- Create an empty folder, right-click and select SVN Checkout
- Fill in the version library URL
- Enter the account and password to log in
- Check out complete, generate project folder
Note: URL and account password are generally assigned by project management
GitLab
If GitHub is not an open source project, you need to pay to use it, so you choose To use GitLab. GitLab can build GitLab service on its own Intranet, and all information such as database can be controlled by GitLab, which is suitable for collaborative development within the team
configuration
There are two ways to clone and commit code: HTTP and SSH
HTTP: copy the URL directly, using Github Desktop for the first time Clone code will require input account password, after input in control panel \ all control panel item \ credentials manager Window credentials — “ordinary credentials there will be records, the subsequent Clone will not need
SSH: The SSH Key is created to identify computers. It is equivalent to a person’s id number. SSH contains two files in drive C: C: \ User \XXX \. SSH: id_rsa.pub and id_rsa
If. SSH is not available, perform the following steps to create an SSH Key
-
Git bsah: ssh-keygen -t rsa -c “[email protected]”
-
Enter the name of the key (you can enter the key without typing anything)
-
Enter password + repeat password (can be directly two enter, nothing input)
-
Two generated files id_rsa, id_rsa.pub
By placing the public key in Gitlab’s SSH Keys, you can create a password-free trust relationship, which allows you to connect to Gitlab over SSH and clone the code