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 组织 所有仓库备份
- Host: GitHub
- URL: https://github.com/zhuimen/git-org-clone
- Owner: ZHUIMEN
- Created: 2022-04-23T12:25:46.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-24T16:32:52.000Z (about 4 years ago)
- Last Synced: 2025-03-15T02:23:00.135Z (over 1 year ago)
- Topics: git, github, node, org, shll, zx
- Language: JavaScript
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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}'
```