I have a problem, not unlike what is discussed at Step through a file's history in git; similar to p4v timelapse, but sufficiently different.
I have a Git repository, with 6 branches, 300+ files and 600+ commits.
I also have a body of code that is a (uncommitted raw files) branch of the same repository... without a .git
folder. In other words, I have a set of 300+ files, no history, no commit tags or hash numbers.
I want to re-integrate this informal branch, as a formal branch.
I need to find which commit was copied, without the .git
, and subsequently edited.
How can I do this efficiently, i.e. without performing a manual 'checkout' of all 600+ commits and running diff/meld and counting number of changed files?