m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/git.md
diff options
context:
space:
mode:
authorMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2019-07-27 17:33:01 -0700
committerMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2019-07-27 17:33:01 -0700
commitb2418f0ae11a9b3b3e4f4c4460948315fd2bc40e (patch)
treed782d3a57c6da7d81788ea4777d11bd2fc968618 /git.md
parentdd69b473e8dfbb7a33bed087e182c51cf2479744 (diff)
parentd20f9efbdda60019bac35849fa99dbb47d3c7551 (diff)
Merge branch 'master' of gitlab.com:m-chrzan/cheatsheets
Diffstat (limited to 'git.md')
-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>