The git repository is associated with vscode

The git repository is associated with vscode

After git is installed, you will be prompted to enter user information,

a. Set the user name: git config -- global user.name 'the user name you registered on github';

b. Set user email: git config -- global user.email 'Email when registering';

Git creates a new warehouse, and when you clone the project to the local, you will be prompted to enter the account password. Vscode opens the project and clicks to push it.

VSCode set git account and password (the reset process is the same)

1. Select File --> Preferences --> Settings, search for git, and add "git.path": "D:/soft/git/Git/bin/git.exe" in setting.json

2. Set Git global settings in git bush: git config --global user.name "username"

git config --global user.email "user email"

3. Set VSCode to remember the git account and password: git config --global credential.helper store

Guess you like

Origin blog.csdn.net/m0_58481462/article/details/122457402