git checkout master
git pull
git checkout -b export
git mv public_html lib/legacy/api
git mv .gitignore lib/legacy/api
This file contains 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
#!/usr/bin/env bash | |
# | |
# This script migrates a DB from one server to another | |
# It should be run from the source server, the | |
# destination server or an intermediate server, | |
# and it assumes ssh connections are configured so that there | |
# is no need to insert credentials. | |
# | |
# You need to call the script as |
OlderNewer