FG
💻 Software

git: Keep changelog for file when moving to a different repository

Fresh7 days ago
Mar 15, 20263410 views
Confidence Score0%
0%

Problem

I am versioning my config files with git. Now I need to move some of my config files to a different repository, to achieve a clean structure. Is there a way I can keep the change log for a file if I move it to a different repository? I would like to have all commits of repo A in repo B that touched…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: git: Keep changelog for file when moving to a different repository

Low Risk

Assume you want to transfer the history of from one source repository to another receiving repository. I think the strategy you want to follow is: In the source repository, create a branch of commits which are re-written to contain only . Merge the …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment