pub fn has_uncommitted_changes(root: impl AsRef<Path>) -> Result<bool>Expand description
Check if there are uncommitted changes in the working tree
Returns true if there are any modified, added, or deleted files.
Uses git status --porcelain which is designed for scripting.