

Upon entering username it will redirect you to the login page and when you login successfully then come back to the visual studio code, it will show you success message like Salesforce Authorized username with org id 1234567890. Once you click on any of the above options, it will ask you to enter Salesforce login username. In sfdx-project.json file, you can also change destination path. You can change the login url in sfdx-project.json file and set sfdcloginurl to required one. In Command palatte, click on SFDX: Authorize an org and you will get options like project default - use login URL defined in sfdx-project.json ( ) to work in production org or for sandbox click on or you can enter custom url based on your requirement. To work with the source or to deploy and retrive source from any org, first you have to authorize it.

Upon clicking any of the command to create project, it will ask destination folder in your system to save the project locally and you can start woking on your project. If you are developing against developer edition, sandboxes etc orgs, you can use the command SFDX: Create Project With Manifest or if you are developing against scratch orgs, you can use SFDX: Create Project Command. I highly recommend that you follow Datacamp’s Git course to really become comfortable with Git commands and avoid painful mistakes.To get started with project, click on C ommand Palatte(ctrl+shift+p) which you can find it in view option and ther are two ways to create a project and develop it.

Become a Git MasterĪlthough very powerful, Git is very complex. You can also read the official documentation to help you. If you use two factors authentication (2FA) in your organisation, you will need to generate an access token. git config -global user.email the email address to your GitHub account. git config -global user.name "yourusername" To configure your Git Login, we will need to set your username and email address in Git.

It is now time to set-up your commit email address in Git. To create an account on Github, go to and follow the steps to create an account. Make sure that the box is ticked Enable Git in Visual Studio Code 4.If it is not installed however, just go to Git-SCM and download the executable file for your machine.
