summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-06-23 23:51:54 +0300
committerPaul Buetow <paul@buetow.org>2025-06-23 23:51:54 +0300
commitca38df1f30ddedbbdbf73d1f8d4ddd98b12d3740 (patch)
tree322d1cf903fbc86b1383361cf0370b878b61768e /README.md
parent2caf07a82d89c8f3e0ecb3bdc6662bd757600b22 (diff)
Add --sync-github-public flag to sync GitHub repos to Codeberg
- Implement GitHub API client methods to list public repositories - Add --sync-github-public flag to sync all public GitHub repos to Codeberg - Add --create-codeberg-repos flag (placeholder for future implementation) - Support pagination for GitHub API to handle users with many repos - Filter GitHub repos to exclude forks, archived, and private repos - Update README with new sync direction and features - Add dry-run support for GitHub->Codeberg sync 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md21
1 files changed, 18 insertions, 3 deletions
diff --git a/README.md b/README.md
index 2fc6a4e..2c2fe94 100644
--- a/README.md
+++ b/README.md
@@ -7,9 +7,12 @@ GitSyncer is a tool for synchronizing git repositories between multiple organiza
- Sync repositories between multiple git organizations
- Automatic branch creation on remotes that don't have them
- Batch sync multiple repositories with a single command
-- Sync all public repositories from Codeberg to other platforms
-- Merge conflict detection
+- Sync all public repositories from Codeberg to GitHub
+- Sync all public repositories from GitHub to Codeberg
+- Automatic repository creation on GitHub (Codeberg support planned)
+- Merge conflict detection with clear error messages
- Never deletes branches (only adds/updates)
+- GitHub token validation tool
## Installation
@@ -52,13 +55,25 @@ Create a `gitsyncer.json` file:
./gitsyncer --sync-all
```
-### Sync all public Codeberg repositories
+### Sync all public Codeberg repositories to GitHub
```bash
# Dry run - see what would be synced
./gitsyncer --sync-codeberg-public --dry-run
# Actually sync all public repos
./gitsyncer --sync-codeberg-public
+
+# With automatic GitHub repo creation
+./gitsyncer --sync-codeberg-public --create-github-repos
+```
+
+### Sync all public GitHub repositories to Codeberg
+```bash
+# Dry run - see what would be synced
+./gitsyncer --sync-github-public --dry-run
+
+# Actually sync all public repos
+./gitsyncer --sync-github-public
```
### List configured organizations