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
Copy file name to clipboardExpand all lines: gh-cli/README.md
+28
Original file line number
Diff line number
Diff line change
@@ -442,6 +442,10 @@ This DELETES *ALL* workflow runs for a particular workflow in a repo. Can pass i
442
442
443
443
This disables all workflows in a repository; helpful if forking or copying someone else's code and you don't want all of the actions to continuously trigger.
444
444
445
+
### download-migration-archive-for-repository.sh
446
+
447
+
Downloads the most recent migration archive/export for a given organization repository.
448
+
445
449
### download-private-release-artifact.sh
446
450
447
451
Downloads a release artifact from a private/internal repository. Can either download latest version or specific version, and supports file pattern matching to download one or multiple files. See [docs](https://cli.github.com/manual/gh_release_download) for more info.
@@ -657,6 +661,14 @@ Gets the status of a [GitHub Enterprise Importer (GEI) migration](https://docs.g
657
661
658
662
Gets the usage of a label in a repository. Returns data in table format.
Returns the most recent migration ID for a given organization repository.
671
+
660
672
### get-organization-active-repositories.sh
661
673
662
674
Gets a list of repositories in an organization that have had code pushed to it in the last X days.
@@ -741,6 +753,10 @@ It contains the following data:
741
753
742
754
By default, it returns all migrations, but there is an optional `max-migrations` parameter to limit the number of migrations returned (must lower or equal to 100)).
743
755
756
+
### get-organization-migrations.sh
757
+
758
+
Returns the migrations (exports) against an organization.
759
+
744
760
### get-organization-repositories-by-property.sh
745
761
746
762
Gets a list of repositories in an organization that have one or more given [custom properties](https://docs.github.com/en/enterprise-cloud@latest/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization) values.
@@ -1006,6 +1022,10 @@ Example output:
1006
1022
],
1007
1023
```
1008
1024
1025
+
### lock-repository-with-migration.sh
1026
+
1027
+
Creates a (mostly) empty migration for a given organization repository so that it can create a lock.
1028
+
1009
1029
### parent-organization-teams.sh
1010
1030
1011
1031
Sets the parents of teams in an target organization based on existing child/parent relationship on a source organization teams.
@@ -1128,6 +1148,14 @@ Notable caps on the API:
1128
1148
- 500 requests per 24 hours for organizations on paid plans
1129
1149
- these caps do not apply to Enterprise Managed Users (EMU)
1130
1150
1151
+
### unlock-repository-migration-by-id.sh
1152
+
1153
+
Unlocks / deletes the lock for a migrated repository - requires the migration ID to be passed in.
1154
+
1155
+
### unlock-repository-migration.sh
1156
+
1157
+
Unlocks / deletes the lock for a migrated repository by getting the most recent migration ID and unlocking it.
1158
+
1131
1159
### update-branch-protection-rule.sh
1132
1160
1133
1161
Updates a branch protection rule for a given branch.
0 commit comments