Local Pro and Local for Teams make use of our one-of-a-kind Magic Sync deployment technology. It’s pretty slick, but since it can seem like magic (hence the name), we have a quick summary of how it works below!
When using Magic Sync to push or pull a site, Local will start by asking the server for a list of all the files located within the site folder. This file list is also sometimes called an “index.”
The server’s file list is then compared with the file list that Local has for the local site.
Local uses the differences in the two file lists to create instructions for what files need to be deleted, added, or updated to make the two environments be in sync.
The “all modified files” option can be thought of as a “force overwrite” of the target site by the source site. This is regardless of the modification times that Local finds when comparing the file list of the server and the local site.
So for example, if I’m pushing a local site up to Flywheel’s servers, Local will compare the two file lists, one for the local site and one for the server. It will then generate instructions to:
Notice in this screenshot, the
robots.txt file is older on the Local site, but because the “All modified files” option is selected, it is still going to overwrite the remote site.
If we compare the above image with the “only newer files” option, we see that the files that are older on the Local site, do not show up as available to be pushed:
Questions relating to payments, billing and managing your account on Flywheel.15 Articles
Learn everything there is to know about what Blueprints are, how to create them and how to make the best use of them.5 Articles
How to access your WordPress database to make changes and update content.3 Articles
Details about how to manage DNS and point your domain names at Flywheel.14 Articles
The most commonly asked questions, and a few we just think you should know.27 Articles
Questions that don't fit elsewhere, or those about Flywheel in general.56 Articles
Everything you need to know to get your first Flywheel site up and running.17 Articles
Everything you need to know about our amazing, free local WordPress development software for Mac and PC.20 Articles
Everything you need to know about managing your team with our Organizations feature.8 Articles
Which plugins work best, which plugins work worst, and everything in between.7 Articles
Details about everything Flywheel does to makes your site so secure.15 Articles
Information on setting up and troubleshooting with SFTP connections and file transfers.5 Articles
All there is to know about our free, automatically installed and activated SSL certificates.8 Articles
How to get the most out of Staging, which allows you to duplicate a site, make changes, and then push those changes to the live site.6 Articles
Everything you need to know about our Whitelabel subscriptions for branding and reselling Flywheel.4 Articles