简体   繁体   中英

How to resore Github repo from archive using Octokit

I have archive from github migration API. How can I restore it in different repo using Nodejs and Octokit?

Apparently GitHub's REST API does not support 'un-archiving' repositories but, apparently it is possible to do it with GraphQL API as pointed in this post in GitHub Community.

Remember Octokit has a GraphQL API client for browsers and Node

About unarchiving it in a different repository I'm not sure if it would be possible. Maybe you could take a look into this Octoherd copy-repository utility (by @gr2m, the creator of Octokit)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM