Newer Version Available

This content describes an older version of this product. View Latest

Run force:mdapi:deploy Instead of force:source:deploy with Source Tracking

Source tracking does not support force:source:deploy because it causes source tracking to erroneously report local changes after they've been deployed to the org. If you run force:source:deploy, from then on, force:source:push will always push all source from your local project to your org, which can lead to undesired overwrites and long deployment time. We recommend running force:source:push, but if you need to deploy a piece of metadata that isn’t source tracked, don’t run force:source:deploy, run force:mdapi:deploy.