paint-brush
How to See Which Branch Your Teammates are on in VS Codeby@sunnydasgupta

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

by July 20th, 2021
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

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.
featured image - How to See Which Branch Your Teammates are on in VS Code
undefined HackerNoon profile picture


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