Can you organize Git Repos into folders?

丶灬走出姿态 提交于 2021-01-28 05:09:44

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!