1. Download git, find the file location where git is installed, and find the Bin folder under the git folder
## 2. Configure environment variables Location: Right-click 'Computer'->Properties->Advanced System Settings->Environment Variables Finally click OK. (Recommended related article tutorials:vscode tutorial)
3. Close vscode and restart, open the terminal, set the user name and emailgit config --global user.name "用户名" git config --global user.email "用户邮箱"
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!