Use binary search to find the commit that introduced a bug.
Git automatically jumps back and forth in the commit graph to progressively narrow down the faulty commit.
git bisect start {bad_commit} {good_commit}
git bisect
selects, mark it as "bad" or "good" after testing it for the issue:
git bisect {good|bad}
git bisect
pinpoints the faulty commit, end the bisect session and return to the previous branch:
git bisect reset
git bisect skip
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
=> CC-BY This content has been proxied by September (ba2dc).Proxy Information
text/gemini;lang=en-GB