aw-github
v1.0.0
Published
A CLI tool for creating GitHub repositories and pushing code with one command
Maintainers
Readme
aw-git
介绍
A CLI tool for creating GitHub repositories and pushing code with one command
使用前配置
需要设置 GitHub Personal Access Token(需要 repo 权限):
# Windows PowerShell
$env:GITHUB_TOKEN = "ghp_xxxxxxxxxxxx"
# Linux / macOS / Git Bash
export GITHUB_TOKEN="ghp_xxxxxxxxxxxx"获取 Token:https://github.com/settings/tokens → Developer settings → Personal access tokens → Generate new token (classic),勾选 repo。
使用
aw-git init按提示输入仓库名称、描述、是否私有,即可创建并推送。
