Last active
December 26, 2015 03:38
-
-
Save ccamara/7086893 to your computer and use it in GitHub Desktop.
#drush commands for files and databases #syncronization
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Creates a copy of current database, deletes it and syncs it with dev | |
drush ard && drush sql-drop && drush sql-sync @site.dev @site.local | |
# Sync files | |
drush rsync @site.dev:%files @site.local:%files |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks to Miguel Ordoñez. All credits go to him