

I have recently come to realize I can save myself a step with using Visual Studio Code to do both. I have the online Git repository set up and have been pushing changing to the online repository using GitHub.

I now have run into the need to use GitHub and an online Git repository. Spelling of the name, or if a path was included, verify that the path is correct and try again. Ive been using Visual Studio code for a long time, since v0.9.1. Assuming that you’ve already set up Git, use the git clone command to clone the master branch. See the repo’s Readme for more information. Cloning this repo creates the directory dreamhouse-lwc. Start the terminal ( Ctrl + `): Top Menu -> View-> TerminalĮxecute the git clone command in the terminal: PS C:\> git clone Īlthough VSCode has a great built-in functionality for Git, Git itself still has to be installed on your machine, otherwise you may receive an error as follows: git : The term 'git' is not recognized as the name of a cmdlet, function, script file, or operable program. This standalone application contains an example DX project with multiple Apex classes, Aura components, custom objects, sample data, and Apex tests. Open VSCode and select a folder where to download the Git project to ( Ctrl + K wait a second Ctrl + O): Top Menu -> Files -> Open Folder. In this note i will show how to clone a Git repository in the Visual Studio Code.Ĭool Tip: How to reset a Visual Studio Code! Read more → Clone Git Repository In Visual Studio Code Integrated Git support is one of the greatest features of the Visual Studio Code. A Visual Studio Code (VSCode) has an integrated source control management (SCM) system and supports Git out of the box.
