How to truncate the old history in the git repository while preserving the date/time of commits?
I have
A-B-C-D-E-F-HEAD
I need
D-E-F-HEAD
I've tried this:
git clone file://e:\repo --shallow-exclude TRUE_START
TRUE_START — this is my tag.
How do I remove the old history from a git repository?
I got a truncated repository, but couldn't push it to GitHub, because the repository is shallow and the first commit has the grafted mark.