{"id":13550794,"url":"https://github.com/kevmoo/git","last_synced_at":"2025-05-16T18:06:28.478Z","repository":{"id":14164626,"uuid":"16870597","full_name":"kevmoo/git","owner":"kevmoo","description":"A dart wrapper around the git command line binary","archived":false,"fork":false,"pushed_at":"2025-03-02T20:11:55.000Z","size":13053,"stargazers_count":131,"open_issues_count":12,"forks_count":22,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-16T18:05:59.074Z","etag":null,"topics":["dart","git"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/git","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"CocoaPods/Specs","license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kevmoo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2014-02-15T20:02:54.000Z","updated_at":"2025-05-09T12:10:16.000Z","dependencies_parsed_at":"2023-10-02T23:20:25.131Z","dependency_job_id":"51cbed6c-c8b2-44f2-9fe6-193c1cf62680","html_url":"https://github.com/kevmoo/git","commit_stats":{"total_commits":1633,"total_committers":10,"mean_commits":163.3,"dds":0.09981628903857931,"last_synced_commit":"113a820a78538adc15684a6ed6b1bed86b2162a0"},"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevmoo%2Fgit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevmoo%2Fgit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevmoo%2Fgit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevmoo%2Fgit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kevmoo","download_url":"https://codeload.github.com/kevmoo/git/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254582904,"owners_count":22095518,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dart","git"],"created_at":"2024-08-01T12:01:37.678Z","updated_at":"2025-05-16T18:06:28.458Z","avatar_url":"https://github.com/kevmoo.png","language":"Dart","funding_links":[],"categories":["Dart"],"sub_categories":[],"readme":"[![Pub Package](https://img.shields.io/pub/v/git.svg)](https://pub.dev/packages/git)\n[![CI](https://github.com/kevmoo/git/actions/workflows/ci.yml/badge.svg)](https://github.com/kevmoo/git/actions/workflows/ci.yml)\n\nExposes a Git directory abstraction that makes it easy to inspect and manipulate\na local Git repository.\n\n```dart\nimport 'package:git/git.dart';\nimport 'package:path/path.dart' as p;\n\nFuture\u003cvoid\u003e main() async {\n  print('Current directory: ${p.current}');\n\n  if (await GitDir.isGitDir(p.current)) {\n    final gitDir = await GitDir.fromExisting(p.current);\n    final commitCount = await gitDir.commitCount();\n    print('Git commit count: $commitCount');\n  } else {\n    print('Not a Git directory');\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevmoo%2Fgit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevmoo%2Fgit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevmoo%2Fgit/lists"}