An open API service indexing awesome lists of open source software.

https://github.com/jandedobbeleer/git-bisect-example


https://github.com/jandedobbeleer/git-bisect-example

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

          

# git bisect example

A very simple repo to illustrate the usage of git bisect.
Someone changed the ouput of our little app when we press the button.
Clone this repository and execute the following git commands on master to find the culprit.

git bisect start
git bisect bad
git bisect good 88b280d
git bisect run .\Scripts\bisect.ps1

After that you should be able to see which commit is responsible for that crappy change.
If you want to exit the bisect, use the following command.

git bisect reset

Use the following git command to see the changes that were made to verify

git diff 9ae540fc0c27793f1945191e409b04b523ecc114^ 9ae540fc0c27793f1945191e409b04b523ecc114