The gitLens plugin is simple to use (by default, upload to github)

1. Install

In the plug-in management in vscode, enter the following and download it

GitLens — Git supercharged

 2. Configuration

Click File--Preferences--Settings

Click the settings icon in the upper right corner

 

 

 3. GitHub use

First of all, the warehouse file must be managed by git init

1. Use git init to create a warehouse under the code folder

2. Open the git management of vscode

 3. Click Add Temporary Storage Area, and then click Submit to enter the submitted content

 4. The first submission will let you bind github by default. If you have already logged in, just authorize it. If you have not logged in, gitbuh will pop up as follows:

5. After the binding is completed, you will be prompted to enter the warehouse name, and whether it is a private warehouse or a public warehouse, you can choose by yourself

 After typing

6. Uploaded successfully

 7. Verify that the upload is successful

 4. Use by other warehouse websites, such as gitee

1. Implement the first upload gitee operation in the pop-up window of git bash

2. Drag the created warehouse into vscode and start writing code. As long as the page is updated, it will appear in git management. You can add temporary storage for all or a single file. After adding temporary storage, click Submit to git is automatically submitted to the gitee warehouse

5. Multi-person coordinated development

If it is multi-person coordination, remember to pull the code before writing the code, and there are many operations that can be studied

 

This is the end of the article, I hope it will be helpful to you~ 

Guess you like

Origin blog.csdn.net/qq_44278289/article/details/131290743