Skip to content

Instantly share code, notes, and snippets.

@dominicsayers
Last active October 22, 2020 08:24
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dominicsayers/f5bc7940a24f0b569a4e0bebaed185ce to your computer and use it in GitHub Desktop.
Save dominicsayers/f5bc7940a24f0b569a4e0bebaed185ce to your computer and use it in GitHub Desktop.
git bisect cheatsheet
$ git bisect start
$ git bisect bad
$ git bisect good dd9b00ad73d71a84e11523c062048daaa8e590e9
Bisecting: 14 revisions left to test after this (roughly 4 steps)
[e6ac8fb2b6c9ee04d0600690f477e785f6c02330] Delegate create_graph_node to the graph client
$ git bisect run rspec ./spec/integration/company_branch_spec.rb:49

...

$ git bisect reset
Previous HEAD position was 0135d235b Move TigerGraph spec helper to canonical location
Switched to branch 'n4j-3-v2'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment