Home >Development Tools >VSCode >How to configure git in vscode

How to configure git in vscode

王林
王林Original
2020-02-20 17:56:496775browse

How to configure git in vscode

1. Download git, find the file location where git is installed, and find the Bin folder under the git folder

How to configure git in vscode

## 2. Configure environment variables

Location: Right-click 'Computer'->Properties->Advanced System Settings->Environment Variables

How to configure git in vscode

Finally click OK.

(Recommended related article tutorials:

vscode tutorial)

3. Close vscode and restart, open the terminal, set the user name and email


How to configure git in vscode

Git global settings:


git config --global user.name "用户名" 
git config --global user.email "用户邮箱"

For more programming-related content, please pay attention to the

Programming Introduction column on the php Chinese website!

The above is the detailed content of How to configure git in vscode. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn