Check whether the working tree has uncommitted changes.
Options controlling how the dirty state is evaluated.
// Check if the working tree has any changes (tracked + untracked)await git.isDirty()// Check only tracked file modificationsawait git.isDirty({ trackedOnly: true }) Copy
// Check if the working tree has any changes (tracked + untracked)await git.isDirty()// Check only tracked file modificationsawait git.isDirty({ trackedOnly: true })
0.1.0
Check whether the working tree has uncommitted changes.