hasUncommittedChanges property
final
Implementation
static final hasUncommittedChanges =
Process.runSync('git', ['status', '--porcelain'])
.stdout
.toString()
.isNotEmpty;
static final hasUncommittedChanges =
Process.runSync('git', ['status', '--porcelain'])
.stdout
.toString()
.isNotEmpty;