У меня есть история, которая выглядит так:
* 3830e61 Add data escaping. (Bad)
* 0f5e148 Improve function for getting page template.
* aaf8dc5 Merge branch 'navigation'
|\
| * 3e667f8 Add icons.
| * 43a07b1 Add menu styles. (Breaks)
| * 107ca95 Add Responsive Nav. (Good)
* | ea3d736 Add ‘Admin’ notice.
* | 17ca0bb Update placeholder text.
|/
* f52cc34 Add featured image.
* 2abd954 Style placeholders.
Я пытаюсь узнать больше и git bisect
, но у меня проблемы с этой историей. Я знаю, что 107ca95
хорош, а 3830e61
плохо. Когда я запускаю git bisect
, commit 107ca95..3e667f8
игнорируется. Я знаю, что 43a07b1
- это фиксация, введя регрессию, но она никогда не оценивается.
Вот примерно то, что я сделал:
git checkout master
git bisect start
git bisect bad
git bisect good 107ca95
git bisect bad (multiple times)
Независимо от того, что я делаю, 107ca95..3e667f8
никогда не проверяются на тестирование.
Есть ли способ, по которому я могу "сгладить" историю во время биссекта, чтобы проверить эти коммиты? Я знаю, что я могу использовать интерактивный rebase
, чтобы сгладить историю, но я не хочу этого делать.