如何跨git存储库共享文件? [英] How to share files across git repositories?

查看:109
本文介绍了如何跨git存储库共享文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在各种服务器的子域中有几个应用程序
每个应用程序都有自己的git存储库。每个应用程序使用几个共享文件
本质上,我的回购重叠。
这种情况​​如何最好地处理多个项目的多个编辑器?

I have several applications across sub domains on various servers Each application has its own git repository. Each application uses several shared files. Essentially, my repos overlap. How is this situation best handled with multiple editors of multiple projects?

推荐答案

我会尝试使所有重叠部分 git submodules

I would try making all the overlapping parts git submodules.

这篇关于如何跨git存储库共享文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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