av
av copied to clipboard
Improve the workdir status handling
If a command internally start git rebase or git switch, we should make sure that the workdir is clean.
In order to check the status more comprehensively, we can use git status --porcelain=v2.