简体   繁体   中英

TFS in visual studio 2015 and git

I already used git before, quite a lot, as well as visual studio. Here I am under visual studio 2015 and I used TFS with team explorer for the very first time. Everything went fine.

Even if the project directory is really too big to be hosted by my git repo, as all my code is under my git repo, I "checkouted" a new TFS image inside my git repo and now I have the following problem : in team explorer, both "connexions" appear

  • the TFS of type "srvtfs"
  • my git repo of type "local git repository"

whereas before only one (the TFS) was appearing.

I would like not to see my git repo in team explorer anymore as I wasn't seeing it before, with the condition that my TFS image directory stays in the directory of my git repo. How could I do that ?

To remove a Git team project in TFS from Team Explorer, click Manage Connections -- Connect to Team Project , then select the TFS you are using, and uncheck the the team project. In this way, you won't see this team project in Team Explorer:

在此处输入图片说明

在此处输入图片说明

To remove git repo from local git repository , just right click the project and select Remove :

在此处输入图片说明

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