Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 2
Message 1 of 3

How to merge two repos without losing stars?

Original github repo was here

https://github.com/diux-dev/ncluster

 

9 months ago it was "moved" to here

https://github.com/cybertronai/ncluster

 

However, the move was done by forking instead of using Github move feature. Assuming I'm admin of both repos, Is it possible to merge the stars (+optionally issues) of two repos?

2 Replies
Highlighted
Community Manager
Message 2 of 3

Re: How to merge two repos without losing stars?

I'm really sorry but it's not possible to transfer stars between repositories. Please let me know if you have any other questions!


I hope this helps,
Andrea

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!

Highlighted
Community Manager
Message 3 of 3

Re: How to merge two repos without losing stars?

Hi @yaroslavvb,

While it is not possible to move stars between repositories as @AndreaGriffiths11 said, it is possible to move open issues between repositories. If you want to move all issues, however, doing this one by one might be a bit tedious. In that case, it might be best to use the GitHub API to list all issues in a repository, get the data from each issue, and then recreate the issues in the new repository.

It's not a perfect solution, but it might be enough to retain the issues that you need.

 

Thanks!