# Combining repositories

**URL:** <https://discuss.dvc.org/t/combining-repositories/2076>\
**Category:** Questions\
**Created:** [May 6, 2024, 3:24pm UTC](https://discuss.dvc.org/t/combining-repositories/2076 "2024-05-06T15:24:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JohnAtl](https://yyz1.discourse-cdn.com/flex035/user_avatar/discuss.dvc.org/johnatl/32/365_2.png) [@JohnAtl](https://discuss.dvc.org/u/JohnAtl)\
**Post date:** [May 6, 2024, 3:24pm UTC](https://discuss.dvc.org/t/combining-repositories/2076/1 "2024-05-06T15:24:04Z")

</div>

Revisiting this topic from [last September](https://discuss.dvc.org/t/dvc-copy-merge-repo-strategy/1785).

Throughout my project’s history, the dvc repository has been a few different places.  
Let’s say I copy all the files in all the repos’ `.../files/md5` into a single location (using rsync, cp, etc.).  
Now when I check out an old git commit, the .dvc/config might point to `remote = old-place`. Can I then edit the .dvc/config and change it to point to the new repo location and be able to fetch/pull/push from/to that location?

---

<div class="post-metadata">

**Author:** ![dberenbaum](https://avatars.discourse-cdn.com/v4/letter/d/5e9695/32.png) [@dberenbaum](https://discuss.dvc.org/u/dberenbaum)\
**Post date:** [May 6, 2024, 7:09pm UTC](https://discuss.dvc.org/t/combining-repositories/2076/2 "2024-05-06T19:09:02Z")

</div>

Yep, that should work without a problem (assuming you were using the same major dvc version at both points in time).
