Change git initial commit to kill history -


I have a repo where I want to delete all the commitments before the purpose of changing repo's initial commitment. .

I have created a branch with my final commitment, as I want to be in the form of a new root: ago>

Then I started a new commission for the initial commitment Created:

  git checkout- b initial $ (echo "deleted history" | git commit-tree $ (git write- 

Then I will call SHA Starting from the beginning I want to rebus the master at the beginning of the beginning, so I did:

  git rebase - master of the initial starting new place  

But the Rebase is not successful. After some commitments I get the struggle. Maybe I am not understanding, but the way I see it, I should not fight because I only I want to apply all the commands of the Master over that new "fake" initial commitment.

Thank you in advance.

You need an orphan

  GIT Checkout - Orphan Neuroot Master ~ 10 GIT Commit- M 'CalE Industry' git Cherry-pick Master ~ 10 Master GIT Branch-D Master  


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -