简体   繁体   中英

How to change Team for git repository in Team Services

We recently started using Git on Team Services after using TFVC for several years. I'm succesfully connected to a Team Services repository, but the work items I'm getting are for the wrong team (see attached picture).

The git url for my repository already contains a specific team (the wrong one obviously) so how can I change that information?

团队资源管理器

It's unnecessary to change teams is VS. And it only shows the default team in visual studio team explorer.

When you create a git repo in VSTS, it will shared with all the teams in the same project. So no matter which team you connected in VS, the pushed changes will be used for all the teams.

Besides, you can find it in git repo URL (code Tab and clone button is VSTS) like https://account.visualstudio.com/_git/project or https://account.visualstudio.com/project/_git/repo , it's not related to teams.

I found the answer to my question. In VS 2017 after connecting to a git repo through Team Services you can select a team if you're member of more than one.

So Home/Team Spezialentwicklung is actually a button which allows you to select your team under "Projects and My Teams"

截图

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM