54 lines
686 B
Markdown
54 lines
686 B
Markdown
# Git Agent Sync
|
|
|
|
A CLI tool that manages isolated git worktrees for AI coding agents.
|
|
|
|
## Installation
|
|
|
|
```bash
|
|
npm install -g git-agent-sync
|
|
```
|
|
|
|
## Usage
|
|
|
|
### Create a new agent workspace
|
|
|
|
```bash
|
|
git-agent-sync create <agent-name>
|
|
```
|
|
|
|
This creates an isolated git worktree for the specified AI agent.
|
|
|
|
### List all workspaces
|
|
|
|
```bash
|
|
git-agent-sync list
|
|
```
|
|
|
|
### Check workspace status
|
|
|
|
```bash
|
|
git-agent-sync status <agent-name>
|
|
```
|
|
|
|
### Generate diff for review
|
|
|
|
```bash
|
|
git-agent-sync diff <agent-name>
|
|
```
|
|
|
|
### Merge changes back to main
|
|
|
|
```bash
|
|
git-agent-sync merge <agent-name>
|
|
```
|
|
|
|
### Destroy a workspace
|
|
|
|
```bash
|
|
git-agent-sync destroy <agent-name>
|
|
```
|
|
|
|
## License
|
|
|
|
MIT
|