scttnlsn / dandelion

Incremental Git repository deployment.
http://scttnlsn.github.io/dandelion
MIT License
738 stars 60 forks source link

Deploy specific branch #47

Closed ari-matti closed 10 years ago

ari-matti commented 10 years ago

Would it possible to determine branch name which Dandelion will deploy to production? I understood that now it takes current HEAD that is determined to git repository and you need to switch the branch from the git repository before deploy to get branch you want to.

scttnlsn commented 10 years ago

Yeah, you can specify the revision you wish to deploy (this revision can be on a different branch). For example:

$ dandelion deploy refs/heads/some-branch