| Age | Commit message (Collapse) | Author |
|
Amp-Thread-ID: https://ampcode.com/threads/T-2116c664-03a6-4a6c-ad47-26f43a91567f
Co-authored-by: Amp <amp@ampcode.com>
|
|
GitHub\n\nfeat(version): bump to v0.9.0
|
|
|
|
|
|
- Create sync package to handle git repository synchronization
- Implement multi-organization sync with branch tracking
- Add merge conflict detection and error handling
- Support cloning, fetching, merging, and pushing across all remotes
- Add --sync flag to synchronize repositories
- Add --work-dir flag for working directory specification
- Create test infrastructure with setup and conflict test scripts
- Update config validation to support file:// URLs
- Add comprehensive .gitignore entries for test artifacts
The sync package automatically:
- Clones repositories if not present
- Fetches updates from all configured organizations
- Merges changes from all remotes for each branch
- Pushes synchronized changes to all organizations
- Detects and reports merge conflicts for manual resolution
Test with: ./test/setup_test_repos.sh && ./gitsyncer --config test/test-config.json --sync test-repo
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
|
- Create config package with JSON parsing support
- Define Organization struct with host and name
- Add config file auto-detection in common locations
- Add --config/-c flag for custom config path
- Add --list-orgs flag to display configured organizations
- Create example configuration file
- Add comprehensive .gitignore
Configuration supports multiple git organizations for future sync functionality.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|