@@ -8,7 +8,7 @@ A Go-based CLI tool that provides a one-command workflow to isolate AI-generated
88- Sets up a Git worktree for isolated file management
99- Creates symlinks from project root to worktree
1010- Automatically updates .gitignore
11- - Easy sync command to commit and push changes
11+ - Separate pull/push commands for flexible workflow
1212- Support for multiple AI agents (Cline, Claude, Gemini, Cursor)
1313- Configuration via YAML, JSON, or TOML
1414
@@ -44,13 +44,21 @@ This command:
44447 . Adds a worktree at ` .mem `
45458 . Creates symlinks from project root to worktree
4646
47- ### Sync changes
47+ ### Push changes
4848
4949``` bash
50- ai-docs sync [--config path/to/config.yml] [--dry-run] [-v]
50+ ai-docs push [--config path/to/config.yml] [--dry-run] [-v]
5151```
5252
53- Commits and pushes any changes in the AI docs worktree.
53+ Copies local AI docs to the worktree, commits and pushes changes to remote.
54+
55+ ### Pull changes
56+
57+ ``` bash
58+ ai-docs pull [--config path/to/config.yml] [--overwrite] [--dry-run] [-v]
59+ ```
60+
61+ Pulls latest changes from remote AI docs branch and copies them to your local project. Use ` --overwrite ` to replace existing local files.
5462
5563### Clean up
5664
@@ -89,7 +97,7 @@ docDir: "docs/ai" # optional – where to add extra docs
8997## Requirements
9098
9199- Git 2.7.0+ (for worktree support)
92- - Go 1.22 + (for building from source)
100+ - Go 1.24 + (for building from source)
93101
94102## License
95103
0 commit comments