Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

rachids's avatar

How to dynamically checkout and pull a branch for QA ?

Hello artisans,

Lets say I have multiple git branches for various features and bugfixes. All my git branches follow a convention naming so that they contains the ticket number associated to them.

I want my QA friend to be able to check by himself any work I've done in tickets ready for QA. I have a droplet ready for this, I'd like to offer him the ability to type something like pr250.myapp.com and it would automatically checkout && pull a branch named pr-250.

Is there something to tackle this ? Am I doing the right thing with that idea ? I was thinking of Kubernetes, which I don't know anything about, I've started watching intro videos and it sounds very overkill (and quite complex from my perspective).

0 likes
2 replies
rachids's avatar

Thank you Sinnbeck for this service.

My search led me to this article so I figured what I'm looking for is called Per pull request environment.

I was hoping to build such a service myself so I don't rely on third-party services for it (the bill is getting heavier every single day ^^') But I'll keep my eyes on them so I can see how they will implement this feature.

Please or to participate in this conversation.