Symbol white

← Back to other Deploy suggestions

Support 'Switching' git branch when deploying

1d9fe99edcab38b6c4049df5b2e65057?rating=pg&size=52&default=mm
suggested by Daniel L
25

Add ability to select a different branch to pull latest commit from when deploying.
 
It's already kind of possible to do this by manually entering a commit ref from a different branch when deploying - but would be good to have direct support for doing this from within the interface... (i.e. pull latest commit ref from a particular brach...)
 
This is particularly useful when working on a feature branch, and needing to deploy to a testing server...

Complete We've implemented this suggestion!

Comments (5)

  • +1 from this end. And thanks for the info on selecting a commit reference from another branch - wasn't aware there was a manual work-around :)

    4714a7396f61cfb464709f12a61b4d4a?rating=pg&size=52&default=mm
    posted by André T
  • + 1

    F98818c057d39fe72bfaa2fdce03b83e?rating=pg&size=52&default=mm
    posted by Ethan R
  • +1

    1d55b27afe205c3a3c150f54e73437e1?rating=pg&size=52&default=mm
    posted by Rian V
  • I agree. This is a greatly needed feature. Picture this scenario...

    If I'm following the Gitflow way of branching, I'll end up having a Release branch that will be used for deploying a release to a production server. This branch won't be merged to Master until the deploy has completed successfully. Right now, the only way to deploy a Release branch for a given server is to manually switch it in the settings. That works but I think it would be far more convenient if we're able to hot switch the branch upon deploy. That way you can keep your production server set to Master but still deploy Release branches on demand. :)

    2392bf809927ce5ee540c3188c023504?rating=pg&size=52&default=mm
    posted by Jeff W
  • +1

    Da9a5791306a0790685221fccf572808?rating=pg&size=52&default=mm
    posted by Lars P