获取github全名
项目描述
安装
$ [sudo] pip install github-fullname-cli
功能
- 从
.git/config
中获取owner/repo
的 github 全名
用法
usage: github-fullname
示例
$ cd path/to/repo
$ github-fullname
$ git remote add git@github.com:owner/repo.git github
$ github-fullname
owner/repo