hasRemote property

bool hasRemote

Implementation

bool get hasRemote => 'git remote'
    .start(
        workingDirectory: pathToGitRoot,
        progress: Progress.capture(captureStderr: false))
    .lines
    .isNotEmpty;