Skip to content

Instantly share code, notes, and snippets.

Created Jul 16, 2012
What would you like to do?
Mercurial Remote Deployment
# /path/to/repository/.hg/hgrc
# $ hg push staging
# $ hg push live
live = ssh://<username>@<server>//var/www/vhosts/<live-website>
staging = ssh://<username>@<server>//var/www/vhosts/<staging-website>
changegroup = hg update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment