You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guide/best-practices/faq.md
+54Lines changed: 54 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,60 @@ And add `-D` to get the verbose backtrace and diagnostic info, then you can subm
55
55
$ xmake -v -D
56
56
```
57
57
58
+
## How to use git bisect to quickly locate issues? {#use-git-bisect-to-locate-issues}
59
+
60
+
When you discover that a feature broke after a certain version but aren't sure which commit introduced the issue, you can use xmake's built-in git bisect feature to quickly locate the problem.
61
+
62
+
git bisect uses a binary search algorithm to quickly locate the first bad commit that introduced the issue by testing different version commits.
0 commit comments