diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2009-10-31 04:03:55 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2009-10-31 04:03:55 +0000 |
commit | c21ab059d7d4dcad19afc93fc1499e8a9b97fd7a (patch) | |
tree | e089d48d0f6440fa50436a1e9ad275bd4556332e /git-bisect.txt | |
parent | 621e123b886211db461d69906b1e7c184c37263e (diff) | |
download | git-htmldocs-c21ab059d7d4dcad19afc93fc1499e8a9b97fd7a.tar.gz |
Autogenerated HTML docs for v1.6.5.2-140-g5f809
Diffstat (limited to 'git-bisect.txt')
-rw-r--r-- | git-bisect.txt | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/git-bisect.txt b/git-bisect.txt index 63e7a42cb..d2ffae0c1 100644 --- a/git-bisect.txt +++ b/git-bisect.txt @@ -20,7 +20,7 @@ on the subcommand: git bisect bad [<rev>] git bisect good [<rev>...] git bisect skip [(<rev>|<range>)...] - git bisect reset [<branch>] + git bisect reset [<commit>] git bisect visualize git bisect replay <logfile> git bisect log @@ -81,16 +81,27 @@ will have been left with the first bad kernel revision in "refs/bisect/bad". Bisect reset ~~~~~~~~~~~~ -To return to the original head after a bisect session, issue the -following command: +After a bisect session, to clean up the bisection state and return to +the original HEAD, issue the following command: ------------------------------------------------ $ git bisect reset ------------------------------------------------ -This resets the tree to the original branch instead of being on the -bisection commit ("git bisect start" will also do that, as it resets -the bisection state). +By default, this will return your tree to the commit that was checked +out before `git bisect start`. (A new `git bisect start` will also do +that, as it cleans up the old bisection state.) + +With an optional argument, you can return to a different commit +instead: + +------------------------------------------------ +$ git bisect reset <commit> +------------------------------------------------ + +For example, `git bisect reset HEAD` will leave you on the current +bisection commit and avoid switching commits at all, while `git bisect +reset bisect/bad` will check out the first bad revision. Bisect visualize ~~~~~~~~~~~~~~~~ |