Possible Duplicate:
How to move files from one git repo to another (not a clone), preserving history
I followed the steps at
How to move files from one git repo to another (not a clone), preserving history
and I did get the files moved over, but it brought the ENTIRE history of the repo with it!
Is there a way to do the same thing but only bring the history of the associated files rather than the entire history of the repository?
Edit:
To be more explicit about what I'm trying to do, assume there are 10 files in a repository and each one has 1 commit associated with it (so 10 total commits in the log).
I have a new repository that I want to transfer some of the files over to, let's say 2 of them. I want to bring the files over with the history from just those files, so I would expect 2 commits from the original repo in the log of the new repo. The method used above brings all 10 commits over, even though only 2 files came over.