问题
My team is currently using Team Foundation Server with the TFSVC for version control. I'm wanting us to move over to using Git within TFS. I had the TFS team setup Git for our team. However, I would like to organize our projects into folders if possible. Example might be a folder for HR and one for Finance and one for Training, etc. Then I would have a project Repo under those folders depending on the what it's for. Right now we have about 170 projects which is why I would like to organize them into folders to help from scrolling forever.
I reached out to my TFS team about this but I haven't received a response so I don't know if it's not possible, if they don't know how to do it, or if I don't have permission.
I've watched some online Videos but all of the info I've found deals with doing that in GitHub, which we aren't using.
If you look at my screen shot you can see that I created some sub folders but I can't figure out how to create a repo in those folders. I see Git repositories which is outside of those folders. I created a TestRepo but again it's not under a folder.
Is it possible to use folders to organize our repositories? If I add a new repository, I don't seem to have a way to put it in a sub folder.
回答1:
There is no way to organize Git repositories into subfolders.
In the new UI introduced with Azure DevOps Server 2019 (formerly Team Foundation Server), the repo picker has been reduced to an auto-filtering search box:
This is the better solution over folders.
来源:https://stackoverflow.com/questions/55599509/can-you-organize-git-repos-into-folders