Skip to content

Instantly share code, notes, and snippets.

@slaFFik
Created October 14, 2023 20:32
Show Gist options
  • Save slaFFik/e1593c6597f11bb7c4dd5122f7f04de9 to your computer and use it in GitHub Desktop.
Save slaFFik/e1593c6597f11bb7c4dd5122f7f04de9 to your computer and use it in GitHub Desktop.
Open local repo to bulk transfer all its issues to a new repo: https://jloh.co/posts/bulk-migrate-issues-github-cli/
gh issue list -s all -L 500 --json number | \
jq -r '.[] | .number' | \
xargs -I% gh issue transfer % https://github.com/<destination repo>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment