合并两个git项目,并保留源仓库的所有提交记录

https://blog.csdn.net/gouboft/article/details/8450696

备注两点,必须有-force权限才能push含有他人commit记录的内容.

git merge repo1 必须加--allow-unrelated-histories

posted @ 2018-10-19 09:14  一马  阅读(1279)  评论(0编辑  收藏  举报