SkillAgentSearch skills...

Git

A dart wrapper around the git command line binary

Install / Use

/learn @kevmoo/Git
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Pub Package CI

Exposes a Git directory abstraction that makes it easy to inspect and manipulate a local Git repository.

import 'package:git/git.dart';
import 'package:path/path.dart' as p;

Future<void> main() async {
  print('Current directory: ${p.current}');

  if (await GitDir.isGitDir(p.current)) {
    final gitDir = await GitDir.fromExisting(p.current);
    final commitCount = await gitDir.commitCount();
    print('Git commit count: $commitCount');
  } else {
    print('Not a Git directory');
  }
}
View on GitHub
GitHub Stars138
CategoryDevelopment
Updated4d ago
Forks23

Languages

Dart

Security Score

100/100

Audited on Apr 1, 2026

No findings