Skip to content

Instantly share code, notes, and snippets.

@deletosh
Created November 22, 2011 21:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deletosh/1386949 to your computer and use it in GitHub Desktop.
Save deletosh/1386949 to your computer and use it in GitHub Desktop.
Dumps dump
mysqldump –uYoursqlname –pYourSQlpwd dbname > dumpfile-name.sql && perl –pie 's/your-local-site-here/theserver-path-here/g' dumpfile-name.sql > dumpfile-name.sql && git add . && git commit –m "commit message" && git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment