Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
398 views
in Technique[技术] by (71.8m points)

git 有办法将一个项目导入到新项目的指定目录同时保留所有历史么?

如题

之前项目 a 没有使用 monorepo,现在想将之放在 monorepo 项目 b 的一个目录中,但同时不希望丢失任何历史,有什么可以指点的 git 魔法技巧么?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

git 的 submodule 了解下.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...