How to See Which Branch Your Teammate is on in PhpStorm

How to See Which Branch Your Teammate is on in PhpStorm

·

1 min read

Featured on daily.dev

“What branch are you on?” is often the first question you ask when a teammate says “The tests aren't passing” or “The build failed”. Here’s how you can get an answer to that question without even needing to ask.

In PhpStorm, open up the Team Window by clicking GitLive on the bottom tool window bar.

PhpStorm-IDE.png

This will show a list of your teammates, if they are online (or away) and the issue they are currently working on. Locate the teammate you are interested in and click the arrow on the left-hand side of their avatar.

ide window scaled.png

Now you will see all the repositories they have cloned including the name of their current branch!

screenshot 3 scaled.png

NOTE: If an issue has been connected to the branch you’ll see the issue name instead, if that's the case just hover your cursor over the issue name and a tooltip will appear showing you the branch name (and even the commit hash)

screenshot 4 scaaled.png

Don't have the GitLive extension installed yet? You can find GitLive here and, if you need help setting it up, follow the instructions in GitLive docs.