From a50f54320317c1012f6d798f5d8fbaff0eeb438b Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Tue, 20 Aug 2024 01:28:37 +0200 Subject: git: bisect --- src/development/git.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/development/git.md b/src/development/git.md index 34c5baa..55748f4 100644 --- a/src/development/git.md +++ b/src/development/git.md @@ -138,6 +138,7 @@ the same repository (shared .git folder). git log -p ......... show commit history + diffs for git log --oneline .. show commit history for in compact format + git log -nN ............... show last N history entries ``` ## Diff & Commit Info @@ -216,6 +217,19 @@ the same repository (shared .git folder). submodule diff ``` +## Bisect +```markdown + git bisect start BAD GOOD ........ start bisect process in range BAD..GOOD commits + git bisect good .................. mark current commit as good + git bisect bad ................... mark current commit as bad + + # Automate bisecting. + git bisect run