At most, A file in git repository has history that includes many commits.
Now, I want to extract file[s] with all history that can trace from HEAD
(with same AuthorDate/CommitDate), and want to write out to new empty branch(able to create with git checkout --orphan
).
I know that git filter-branch
has potential to do that, however, I don't know how because it is too powerful for me.