1. Install the Git management tool. You can install it on the official website. The installation path is https://git-scm.com/. The default installation path is C:\Program Files\Git. You can install it yourself. Modification, here I installed it in D:\Program Files\Git.
2. After installing Git, configure the environment variable path information as shown in the figure. Generally, the configuration will be successful automatically. After the configuration is completed, the computer can use Git.
#3. If you want to use Git in VS Code, you need to configure git.path in the editor.
Configuration steps: In the editor's File->Preferences->Settings->Search git.path->Click Edit->Find the git installation directory of your computer and find the bin file git.exe file in the folder and copy the full path of the file.
PHP Chinese website has a large number of free JAVA introductory tutorials, everyone is welcome to learn!
The above is the detailed content of Where does vscode configure git?. For more information, please follow other related articles on the PHP Chinese website!