You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`--repo_dir dir`, `-r dir`: Repository dir path to store the data
452
+
-`--clone_addr addr`: The URL will be clone, currently could be a git/github/gitea/gitlab http/https URL. i.e. https://github.com/lunny/tango.git
453
+
-`--auth_username lunny`: The username to visit the clone_addr
454
+
-`--auth_password <password>`: The password to visit the clone_addr
455
+
-`--auth_token <token>`: The personal token to visit the clone_addr
456
+
-`--owner_name lunny`: The data will be stored on a directory with owner name if not empty
457
+
-`--repo_name tango`: The data will be stored on a directory with repository name if not empty
458
+
-`--units <units>`: Which items will be migrated, one or more units should be separated as comma. wiki, issues, labels, releases, release_assets, milestones, pull_requests, comments are allowed. Empty means all units.
459
+
460
+
### restore-repo
461
+
462
+
Restore-repo restore repository data from disk dir:
463
+
464
+
- Options:
465
+
-`--repo_dir dir`, `-r dir`: Repository dir path to restore from
466
+
-`--owner_name lunny`: Restore destination owner name
467
+
-`--repo_name tango`: Restore destination repository name
468
+
-`--units <units>`: Which items will be restored, one or more units should be separated as comma. wiki, issues, labels, releases, release_assets, milestones, pull_requests, comments are allowed. Empty means all units.
0 commit comments