Is there a way to force SFDX to deploy all assets again even if they've already been deployed? I thought -f overwrite might do it but it doesn't seem to override what it thinks is already deployed. It also doesn't appear to be smart enough to know that we're trying to deploy to a different org


I used sfdx force:source:deploy instead of sfdx force:source:push which worked. I don't know if it'll mess up the tracking but I'm hoping not.

  • Some time ago I was removing orgs folder inside .sfdx in project root to achieve same scenario, especially when deployment was partially done, and there were no help from -f option – kurunve Feb 5 at 20:08

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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