簡體   English   中英

如何使用 Octokit 從存檔中恢復 Github 存儲庫

[英]How to resore Github repo from archive using Octokit

我有來自 github 遷移 API 的存檔。 如何使用 Nodejs 和 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.

記住 Octokit 有一個 GraphQL API 客戶端用於瀏覽器和節點

關於在不同的存儲庫中取消歸檔它,我不確定它是否可能。 也許你可以看看這個 Octoherd 復制存儲庫實用程序(作者:@gr2m,Octokit 的創建者)

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM