Skip to content

Instantly share code, notes, and snippets.

@zetavg
Created April 17, 2015 15:49
Show Gist options
  • Select an option

  • Save zetavg/af76fefacf48557aa165 to your computer and use it in GitHub Desktop.

Select an option

Save zetavg/af76fefacf48557aa165 to your computer and use it in GitHub Desktop.
#!/bin/bash
DOKKU_HOST="$(git config --get remote.dokku.url | sed s/\:.*$//g)"
ssh -t "$DOKKU_HOST" "$1" "$2" "$3"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment