Consolidate / append repos, list commits

Sorry if this has been asked before. If so, I’m not finding the right language to find it again.
I unfortunately had a bind mount that didn’t get added to my fstab, so I’ve been pushing data into an incorrect folder.

Is it possible to copy “commits” from one local dvc repo and append them to another local repo?
It seems one might just copy the contents of .../md5/* from one repo to the other, but it also seems like thar might be dragons thar.

Also, is it possible to list the commits in a repo? Similar to git log.

at 16:03:35 > dvc doctor
DVC version: 3.39.0 (pip)
-------------------------
Platform: Python 3.11.7 on Linux-6.6.16-1-lts-x86_64-with-glibc2.39
Subprojects:
	dvc_data = 3.7.0
	dvc_objects = 3.0.6
	dvc_render = 1.0.0
	dvc_task = 0.3.0
	scmrepo = 2.0.3
Supports:
	http (aiohttp = 3.9.1, aiohttp-retry = 2.8.3),
	https (aiohttp = 3.9.1, aiohttp-retry = 2.8.3)
Config:
	Global: /home/john/.config/dvc
	System: /etc/xdg/dvc

---------------- 
OS: EndeavourOS Linux x86_64 
Kernel: 6.6.16-1-lts 
Uptime: 6 days, 8 hours, 48 mins 
Packages: 1237 (pacman), 30 (flatpak) 
Shell: zsh 5.9 
Resolution: 3840x2160, 3840x2160, 2560x2880 
DE: GNOME 45.4 
WM: Mutter 
WM Theme: Adwaita 
Theme: Adwaita [GTK2/3] 
Icons: Qogir [GTK2/3] 
Terminal: kitty 
CPU: 13th Gen Intel i9-13900K (32) @ 5.500GHz 
GPU: NVIDIA RTX A4500 
GPU: Intel Raptor Lake-S GT1 [UHD Graphics 770] 
Memory: 46841MiB / 128511MiB

Thanks!

Hi. I suppose you mean not just cache and dvc files you currently have, but also history of dvc files and cache they used to use in the past? In that case you need to copy your git commits and those cache files. dvc doesn’t really have commits, we just rely on dvc files in your git commits.

Thanks!
So that’s a yes on being able to copy files between repos?

Follow up: dvc ‘commits’ seem to remember where they were pushed previously? E.g. if I have my .dvc/config set to /mnt/tank/data, if i do dvc push --all-commits, dvc tries to push them to /home/me/tank/data, rather than the location in .dvc/config. Perhaps that is due to the settings in .dvc/config at each git commit? I’ve also tried adding -r /mnt/tank/data, which I thought might override any other setting, but to no avail.
Am I missing something?
Could this be because I edited .dvc/config with an editor, rather than using dvc remote add/remove?
Thanks