Thread (3 messages) flat view 3 messages, 3 authors, 2016-06-15

Copying files and keeping the history

From: JörgenHägg <hidden>
Date: 2016-06-15 22:46:56

I have two completely different git repositories, A and B.

I want to move a file from repo A to B without losing the files history.
That is, I want the commit message and all other info from
each commit where the file was included to generate new
commits in repo B.
(Yes, I know git manages content, not files. :-)

In other words, export a bunch of commits, filtering out the
patches for the file and import these in another repo.

Sort of importing from cvs to git, only the source and destination
are both git repositories.

I tried tailor from git to git, but that was probably not what tailor
wanted to do. :-)

Is this somehow possible?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help