git: merge two repositories

· Thiago Perrotta · Oct. 12, 2025, 2:06 p.m.
Summary
This blog post discusses the process of merging two separate Git repositories while preserving commit history and giving suitable attribution to contributors. It provides a brief command-line guide to merging repositories and highlights issues related to loss of history and improper crediting of contributions.
AUTHOR
Sponsored
Zulip logo Zulip
Organized team chat for people who take work seriously. Topic-based threading keeps conversations focused.
Try Zulip
Become a sponsor →