π‘ Tip: If you are using git and would like to find a first commit where a bug was introduced you can use
Example:
Read more in git docs: https://git-scm.com/docs/git-bisect
git bisect
command. It uses binary search to find a problematic commit between one witout bug and a commit with bug.Example:
$ git bisect start
$ git bisect bad #Current version is bad
$ git bisect good TAG/Revision #Is known to be good
Bisecting: 675 revisions left to test after this (roughly 10 steps)
git bisect good
...
git bisect bad
Read more in git docs: https://git-scm.com/docs/git-bisect
π€©24π9β€5π₯1