An open API service indexing awesome lists of open source software.

https://github.com/zhuimen/git-org-clone

github 组织 所有仓库备份
https://github.com/zhuimen/git-org-clone

git github node org shll zx

Last synced: 3 months ago
JSON representation

github 组织 所有仓库备份

Awesome Lists containing this project

README

          


### 环境 git node grep
```
npm i -g zx
```

### 配置
##### 1、 申请 Personal access tokens => repo => 全部 打勾
```
https://github.com/settings/apps
```
##### 2、curl to fetch 获取 token
```
curl -i -u userName:Author-Token "https://api.github.com/orgs/{org}/repos?per_page=100&page=1"

https://kigiri.github.io/fetch/
```
##### 3、复制 “Basic xxxxxxxx” 粘贴到 git.mjs 中的 token 变量

### 使用
```
chmod u+x ./git.mjs
./git.mjs --org {rogName} --token '{token}'
```