bisecting: add reset

This commit is contained in:
Vaxry 2024-04-27 21:48:19 +01:00
parent fc45ed5686
commit d250fddf06

View file

@ -87,9 +87,10 @@ git bisect bad HEAD
``` ```
_git_ will now checkout a commit in the middle of the specified range. _git_ will now checkout a commit in the middle of the specified range.
Now, build and install Hyprland: Now, reset, build and install Hyprland:
```sh ```sh
git reset --hard --recurse-submodules
make all make all
sudo make install sudo make install
``` ```
@ -100,7 +101,7 @@ Try to reproduce your issue. If you can't (i.e. the bug is not present), go back
Hyprland repo and run `git bisect good`. If you can reproduce it, run `git bisect bad`. Hyprland repo and run `git bisect good`. If you can reproduce it, run `git bisect bad`.
_git_ will then checkout another commit and continue the binary search. _git_ will then checkout another commit and continue the binary search.
Build and install Hyprland again and repeat this step until _git_ identifies the Reset, build and install Hyprland again and repeat this step until _git_ identifies the
commit that introduced the bug: commit that introduced the bug:
``` ```