Bulk Transfer Github Issues from Repository A to Repository B

Опубликовано: 05 Ноябрь 2023
на канале: devin schumacher
156
1

How to Bulk Transfer Github Issues from Repository A to Repository B
---
SEO & Digital Marketing Resources:
SEO & Digital Marketing Insider Info: @

Artificial Intelligence Tools & Resources:
Artificial Intelligence Insider Info: @

‍‍‍ Join the Community:

-
Here’s a simple command you can run in your terminal to transfer all the issues from one Github repository to another!

Pre-requisites:

1. Make sure you have Github CLI installed:
2. Make sure you are “authenticated” through Github CLI
3. Make sure that the repository you’re transferring from & to have the same labels, fields, etc.

NOTE: I didn't actually test step above... maybe it's not a problem.

Just test it first if you're worried and LMK in the comments if it matters!

...

Now you’re ready to run to bulk transfer your issues!

1. Open your terminal & run the command below:


\
jq -r '.[] | .number' | \
while read issue; do
gh issue transfer "$issue" devinschumacher/repository-b -R devinschumacher/repository-a
sleep 2
done


----

The code:

Full article:


Смотрите видео Bulk Transfer Github Issues from Repository A to Repository B онлайн без регистрации, длительностью 02 минут 39 секунд в хорошем hd качестве. Это видео добавил пользователь devin schumacher 05 Ноябрь 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 156 раз и оно понравилось 1 людям.