@linktogo/ai-git
v0.6.0
Published
Thin git and GitHub CLI wrapper used by ai-sync: clone, branch, commit, push, and open pull requests.
Maintainers
Readme
@linktogo/ai-git
Thin wrapper around git and the GitHub gh CLI used by
ai-sync: clone, branch, commit, push, and
open pull requests. SSH and scp-style remotes are rewritten to HTTPS before
cloning.
import { clone } from '@linktogo/ai-git';
await clone('https://github.com/example-org/example-api.git', '/tmp/checkout', { depth: 1 });