1

I have new classes, pages, etc in the my Salesforce org. Is it possible to update the project with all new files?

2

You can use source:retrieve command.

Some of them are like:

  1. To refresh and retrieve the files already pulled in source:

    sfdx force:source:retrieve -p path/to/source
    
  2. To retrieve all Apex classes:

    sfdx force:source:retrieve -m ApexClass
    
  3. To retrieve all custom objects and Apex classes:

    sfdx force:source:retrieve -m CustomObject,ApexClass
    

There are many other commands which you can find in documentation from link above

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.