Обложка канала

Android Developers

Канал о разработке под Андроид. Дневные статьи, курсы, видео, туториалы и новости мобильного мира.

Android Developers

3 года назад
Открыть в
💡 Tip: If you are using git and would like to find a first commit where a bug was introduced you can use 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