From 8f030956789561664e8f43b0fa6419fec7a31985 Mon Sep 17 00:00:00 2001 From: jbranchaud Date: Mon, 19 Mar 2018 14:35:19 -0500 Subject: [PATCH] Add Show The Good And The Bad With Git Bisect as a git til --- README.md | 3 ++- git/show-the-good-and-the-bad-with-git-bisect.md | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 git/show-the-good-and-the-bad-with-git-bisect.md diff --git a/README.md b/README.md index 5cd4f8b..09c4e92 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ smart people at [Hashrocket](http://hashrocket.com/). For a steady stream of TILs from a variety of rocketeers, checkout [til.hashrocket.com](https://til.hashrocket.com/). -_644 TILs and counting..._ +_645 TILs and counting..._ --- @@ -189,6 +189,7 @@ _644 TILs and counting..._ - [Show File Diffs When Viewing Git Log](git/show-file-diffs-when-viewing-git-log.md) - [Show List Of Most Recently Committed Branches](git/show-list-of-most-recently-committed-branches.md) - [Show The diffstat Summary Of A Commit](git/show-the-diffstat-summary-of-a-commit.md) +- [Show The Good And The Bad With Git Bisect](git/show-the-good-and-the-bad-with-git-bisect.md) - [Single Key Presses in Interactive Mode](git/single-key-presses-in-interactive-mode.md) - [Staging Changes Within Vim](git/staging-changes-within-vim.md) - [Staging Stashes Interactively](git/staging-stashes-interactively.md) diff --git a/git/show-the-good-and-the-bad-with-git-bisect.md b/git/show-the-good-and-the-bad-with-git-bisect.md new file mode 100644 index 0000000..9027cb9 --- /dev/null +++ b/git/show-the-good-and-the-bad-with-git-bisect.md @@ -0,0 +1,15 @@ +# Show The Good And The Bad With Git Bisect + +The [`git bisect`](https://git-scm.com/docs/git-bisect) command is a +powerful tool for tracking down a past commit where something verifiable +about the code changed -- whether it be visual or functional. After using +`git bisect` to traverse back and forth through your commit history, you may +be wondering where things stand. + +The [`git bisect +log`](https://git-scm.com/docs/git-bisect#_bisect_log_and_bisect_replay) +command will show you each commit that has been inspected and whether you've +marked it as good or bad. + +These records can be handy for double checking your work if you're worried +that you made a mistake along the way.