Using Git in VS Code
Reference from VS Code official docs Using Version Control in VS Code.
- Install VS Code.
- Install Git.
- Open “Source Control”(Ctrl+Shift+G). Now you can use Git in VS Code.
Common Questions
Error dialog: Make sure you configure your “user.name” and “user.email” in git."
You can run below command to configure it.
$ git config --global user.email "you@example.com"
$ git config --global user.name "Your Name"