Using Git with Visual Studio Code

Using Git with Visual Studio Code

1h 27mBeginner2023-02-07

Authors

Ray Villalobos

Ray Villalobos

Senior Staff Instructor at LinkedIn Learning

Course details

Did you know that Visual Studio Code includes out-of-the-box Git support? In this course, join LinkedIn Learning senior staff instructor Ray Villalobos as he shows you how to integrate Git without leaving your code editor, regardless of whether you’re working locally or remotely.

Learn the basics of recognizing pending changes and setting up VS Code for Git. Ray covers local tips for staging, committing, source control, diffing, and tracking and managing logs of your work. Along the way, you’ll also develop new skills for creating pull requests, merging conflicts, and using the Remote Explorer to make quick changes when coding remotely. By the end of this course, you’ll be prepared to integrate Git with VS Code and leverage powerful tools like Git Graph, Git History, GitLens, and more.

Skills covered

Visual Studio CodeMicrosoft DevelopmentGitVersion ControlDevOps ToolsDevOpsOpen SourceMicrosoftSoftware DevelopmentOne-Off

Concepts

Introduction

  • Git is better in Visual Studio Code

Setting Up Visual Studio Code for Git

  • Requirements
  • Project setup
  • Useful extensions

Understanding the Interface

  • Built-in terminals
  • The Command Palette
  • Status bar
  • Explorer and editor
  • Editor

Working with Git Locally

  • Setting up a repo
  • Staging and committing
  • Source control
  • Diffing
  • Visual Studio Code logs
  • Copilot

Working with Git Remotely

  • Pull requests
  • Issues
  • Merge conflicts
  • Codespaces
  • Remote Explorer

External Tools

  • Git Graph
  • Git history
  • GitLens

Conclusion

  • Going further
40,000 Toman