m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Chrzanowski <martin@celo.org>2019-07-27 17:27:17 -0700
committerMartin Chrzanowski <martin@celo.org>2019-07-27 17:27:17 -0700
commitc06fcbfb2962efa5b58d9e50197c49602b99e672 (patch)
tree00c6f0b0a781294999658f6d9697be2db7c4002b
parent707e8ab96e00d8110e4c6e0790e984184b6fc2ca (diff)
Add git bisect
-rw-r--r--git.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/git.md b/git.md
index e9bbbfe..851dae4 100644
--- a/git.md
+++ b/git.md
@@ -4,3 +4,11 @@
git config --global user.name "Name"
git config --global user.email "name@place.com"
+
+## `git bisect`
+
+ git bisect start
+ git bisect new
+ git checkout <some commit a while ago>
+ git bisect old
+ git bisect run <command that returns 1 on old, 0 on new>