How to See Which Branch Your Teammates are on in VS Code

Written by sunnydasgupta | Published 2021/07/20
Tech Story Tags: vscode | collaboration | pair-programming | productivity | programming | devtools | vscode-extensions | software-development

TLDR Simple Way to See What Branch Your Teammates are on in VS Code. Click on the GitLive icon on the activity bar to see your teammates' branches. If an issue has been connected to the branch you'll see the issue name instead. Don't have the extension installed yet? You can find it here and, if you need help setting it up, follow the instructions here. You can also see all the repositories they have cloned including the name of their current branch. If you hover your cursor over an issue name, a tooltip will appear showing you the branch name.via the TL;DR App

"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.

Simple Way to See What Branch Your Teammates are on in VS Code

In VS Code, open up the team tab by clicking on the GitLive icon on the activity bar.

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.

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

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).

Don't have the GitLive extension installed yet?

You can find it here and, if you need help setting it up, follow the instructions here.


Published by HackerNoon on 2021/07/20