In my current workflow, I'm updating/rebasing an ancient patch to work against recent versions of a projetct.
In my current workflow, I use git bisect to find the latest commit which can be used to cleanly apply the patch.
To check if the patch can be cleanly applied, I need to patch the files and check the exit status. This procedure changes the working directory, which is no longer clean.
Before apply the current commit as good or bad, I always use git reset --hard
, but this task is annoying. Is it required or git bisect
will take care of it for me?