どうすれgit bisect
ば git バグを修正したり、git インデックスを復元したりできますか。最初にエラー メッセージが表示され、次に以下の修正に失敗しました
GIT_MERGE_VERBOSITY=5 で実行するgit merge origin master
と...
Merging:
9201eee porque no, "not and"
virtual origin
found 2 common ancestors:
21d206e (redo) merged in feature/edb and fixed the unit test. Also fixed a bug in bq where the imposition of the MIN_BUILDINGS constraint results in zero results, but an erroneous 'found_entities' field.
ac55def Merge pull request #276 from company/feature/chromeframe_support
Merging:
21d206e (redo) merged in feature/edb and fixed the unit test. Also fixed a bug in bq where the imposition of the MIN_BUILDINGS constraint results in zero results, but an erroneous 'found_entities' field.
ac55def Merge pull request #276 from company/feature/chromeframe_support
found 1 common ancestor:
2f55197 Merge pull request #271 from company/feature/autobahn-host-as-setting
Auto-merging requirements.unstable.txt
Auto-merging requirements.txt
Auto-merging project/tests/test_querier.py
CONFLICT (content): Merge conflict in project/tests/test_querier.py
Skipped project/static/project/images/bg-paper.png (merged same as existing)
Skipped project/static/project/apps/scatter-plot/js/xcharts.custom.js (merged same as existing)
Skipped edb/models.py (merged same as existing)
CONFLICT (rename/rename): Rename "edb/migrations.broken/0006_auto__del_field_site_entity_id.py"->"edb/migrations/0012_lengthen_owner_type_and_rating_charfield.py" in branch "Temporary merge branch 1" rename "edb/migrations.broken/0006_auto__del_field_site_entity_id.py"->"edb/migrations/0005_change_site_id_to_site_entity_id.py" in "Temporary merge branch 2" (left unresolved)
Skipped edb/migrations/0007_rvalue_changed_to_r_value.py (merged same as existing)
Skipped edb/migrations/0004_regenerate_garbled_field_names_due_to_slashes_in_csv_header_strings.py (merged same as existing)
Auto-merging BE/templates/base.html
BUG: There are unmerged index entries:
BUG: 1 edb/migrations.broken/0005_auto__add_field_site_id__chg_field_site_entity_id.py
fatal: Bug in merge-recursive.c
git reset --hard
動作しません (その後のマージはまだ失敗します)。- いずれかの方向 (master -> mybranch または mybranch -> weather) でマージすると、同じ BUG が発生します。
- 問題のあるファイルは作業ディレクトリには存在しませんが、master の関連する空のディレクトリ ( ) は、およびted
edb/migrations.broken/
を使用した master のチェックアウトで削除されました(しかし、明らかに git はインデックスに変更を記録しませんでした)修正rm -f
git commit
- 喜びがない
git update-index --force-remove --unmerged --really-refresh --again --remove