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 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.