I did something bad.. I dont know what i did, but i now have two commits with no parent. As far as i know I am only supposed to have one, which is the initial commit.
Whenever i do a blame, all changes before the funky commit points to commit 2139f47.
This is the funky part of my reflog:
...
49d0d22 HEAD@{313}: commit (merge): unused questions widget removed
2139f47 HEAD@{314}: commit: unused questions widget removed
e548c10 HEAD@{315}: commit: unused questions widget removed
e7d174b HEAD@{316}: pull: Fast-forward
...
The internal linking looks something like this:
HEAD
|
... e548c10
| |
49d0d22 -----+ |
| | |
2139f47 e7d174b
| |
nil ...
|
initial
The contents of the merge commit object (49d0d22) is:
tree c3989e79c49df4b141b080502192bf0be0f67195
parent 2139f479dac242ad2ef757519aef77f3003ca996
parent e7d174bef4ab7e89b96f8c3de3551d0b760c80f8
author Michael Andersen <***> 1345190024 +0200
committer Michael Andersen <***> 1345190024 +0200
unused questions widget removed
The contents of the funky commit with no parent (2139f47) is:
tree 4cfebc6b5a2a525bc255e4e095008b6aa8b106cc
author Michael Andersen <***> 1345189769 +0200
committer Michael Andersen <***> 1345189918 +0200
unused questions widget removed
The contents of the commit that no object seem to points to (e548c10) is:
tree 0ae0960fccee7faec86ce7a82dd30af70f9c225a
parent e7d174bef4ab7e89b96f8c3de3551d0b760c80f8
author Michael Andersen <***> 1345189769 +0200
committer Michael Andersen <***> 1345189769 +0200
unused questions widget removed
So my question is:
Can I cut out the funky commits? and how does this effect origin and the local repos of my fellow coders?
--- edit ---
I dont care about losing some commit objects. As I see it, i need to cut away 2139f47 and e548c10. How do I do that?