I'd like to use git bisect
to debug a Django web-app I'm working on. However, reverting to old commits would break the entire site because the database schema changes so often. I'd like to be able to run git bisect
so that it only checks out one folder. In this case, that folder would be static/
, since the issue I'm trying to debug is on the front-end.
I've tried git bisect start -- static/
but this command only checks out commits that touch the specified folder (which is subtly different than what I want).
In short, I'd like to be able to run something like git bisect start --only-checkout=static/
which would only checkout the specific folder that I'm debugging.
Thanks!