Push source code to a scratch Org

To push source to scratch Org, run the following command:

sfdx force:source:push

For our use case, we can change the HelloWorld.cmp file code, as shown in the following screenshot:

Once you run:

sfdx force:push

the code is deployed to the scratch Org. The screenshot shows the command-line interface once the code has been deployed successfully:

Also, note that you can always find the status change between your local folder and scratch Org using the following command:

sfdx force:source:status
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.226.185.87