site-set

Set a site alias to work on that will persist for the current session.

drush site-set

Aliases:

Arguments:

site : Site specification to use, or "-" for previous site. Omit this argument to "unset"

Examples:

Set the current session to use the @dev alias.

drush site-set @dev

Set the current session to use a remote site via site specification.

drush site-set user@server/path/to/drupal#sitename

Set the current session to use a local site via site specification.

drush site-set /path/to/drupal#sitename

Go back to the previously-set site (like `cd -`).

drush site-set -

Without an argument, any existing site becomes unset.

drush site-set