私は何か悪いことをしました..私は自分が何をしたのかわかりませんが、親がいない状態で2つのコミットがあります。私の知る限り、私は最初のコミットである1つだけを持っていることになっています。
私が責任を負うときはいつでも、ファンキーなコミットが2139f47をコミットする前にすべての変更が行われます。
これは私の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
...
内部リンクは次のようになります。
HEAD
|
... e548c10
| |
49d0d22 -----+ |
| | |
2139f47 e7d174b
| |
nil ...
|
initial
マージコミットオブジェクト(49d0d22)の内容は次のとおりです。
tree c3989e79c49df4b141b080502192bf0be0f67195
parent 2139f479dac242ad2ef757519aef77f3003ca996
parent e7d174bef4ab7e89b96f8c3de3551d0b760c80f8
author Michael Andersen <***> 1345190024 +0200
committer Michael Andersen <***> 1345190024 +0200
unused questions widget removed
親のないファンキーなコミット(2139f47)の内容は次のとおりです。
tree 4cfebc6b5a2a525bc255e4e095008b6aa8b106cc
author Michael Andersen <***> 1345189769 +0200
committer Michael Andersen <***> 1345189918 +0200
unused questions widget removed
オブジェクトが指しているように見えないコミットの内容(e548c10)は次のとおりです。
tree 0ae0960fccee7faec86ce7a82dd30af70f9c225a
parent e7d174bef4ab7e89b96f8c3de3551d0b760c80f8
author Michael Andersen <***> 1345189769 +0200
committer Michael Andersen <***> 1345189769 +0200
unused questions widget removed
だから私の質問は:
ファンキーなコミットを切り取ることができますか?そして、これは私の仲間のコーダーの起源とローカルリポジトリにどのように影響しますか?
- - 編集 - -
いくつかのコミットオブジェクトを失うことは気にしません。私が見ているように、私は2139f47とe548c10を切り取る必要があります。それ、どうやったら出来るの?