function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rahul Jain 199Rahul Jain 199 

Can we use force:source:pull in Sandbox?

Hi,
I want to get all changed sources from the Sandbox org to my project(VScode) to keep them in sync.
Best Answer chosen by Rahul Jain 199
VinayVinay (Salesforce Developers) 
Hi Rahul,

No, you can use force:source:pull for scratch orgs only. If you’re synchronizing source to any other org, use the Metadata API (force:mdapi:retrieve or force:mdapi:deploy).

Hope above information was helpful.

Please mark as Best Answer so that it can help others in the future.

Thanks,
Vinay Kumar