如何从解决方案中的不同git仓库访问源代码,而无需将其作为我的解决方案中的项目添加 [英] How to access source from a different git repo within the solution without adding it as a project within my solution

查看:130
本文介绍了如何从解决方案中的不同git仓库访问源代码,而无需将其作为我的解决方案中的项目添加的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好, 

我有一个包含多个项目的解决方案,但是最近我们拆分了团队,每个项目都分别处理了几个项目。 

I have a solution with several projects, however recently we split the team and each one is handling a couple of projects separately. 

在我的项目中,我只使用这些项目的dll。我也使用pdb文件介入。但是我注意到,如果没有源(header和cpp)它们不是解决方案的一部分,我就无法进入其他项目。问题是这些
项目是活跃的,可能源不断更新,并且想知道是否有办法在附加包含文件中添加git repo。 

In my project now, I only make use of the dll of these projects. I also use the pdb file to step in. However I have noticed that I cannot step into the other projects if they are not part of the solution without the source (header and cpp). Issue is these projects are active and possibly the source updated constantly and was wondering if there is a way to add a git repo as part of the additional include files. 

是否有最佳做法? 

Is there a best practice for this? 

感谢任何帮助或建议。  

Any help or suggestion is appreciated.  

干杯

Viv

推荐答案

您好,

感谢您在此发布。

>> 如何从解决方案中的其他git仓库访问源代码而不将其作为项目添加到项目中我的解决方案

>>How to access source from a different git repo within the solution without adding it as a project within my solution

请提供有关您的解决方案的更多信息。你想添加git repo来实现源代码控制或访问源文件吗?

Please provide more information about your solution. Do you want to add git repo to implement source control or access source files?

我还没有听说过将git repo添加到附加的include文件中。如果要获取源代码的副本,请克隆VSTS Git存储库。克隆会为您创建源代码的副本以及所有版本控制信息
,因此Git可以管理源代码。

I haven't heard about adding a git repo into additional include file. If you want to get a copy of the source code, you clone a VSTS Git repository. Cloning creates both a copy of the source code for you to work with and all the version control information so Git can manage the source code.

这是一个文档供您使用参考。

Here is a document for you as a reference.

https:// docs.microsoft.com/en-us/vsts/git/gitquickstart?tabs=visual-studio

此外,此论坛是关于c ++代码问题的。对于您的情况,我建议您在git repo论坛上发帖以获得更好的支持。

Besides, this forum is about c++ code issues. For your case, I suggest you post on git repo forum for better support.

https:// git -scm.com/community

您的理解与合作将不胜感激。

Your understanding and cooperation will be grateful.

最诚挚的问候,

Baron Bi


这篇关于如何从解决方案中的不同git仓库访问源代码,而无需将其作为我的解决方案中的项目添加的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆