Insert a commit before the root commit in Git?
There are 2 steps to achieving this: Create a new empty commit Rewrite history to start from this empty commit We’ll put the new empty commit on a temporary branch newroot for convenience. 1. Create a new empty commit There is a number of ways you can do this. Using just plumbing The cleanest approach … Read more