获取仓库github用户名
项目描述
安装
$ [sudo] pip install github-fullname
$ [sudo] npm i -g github-fullname
示例
$ cd path/to/repo
$ github-fullname .
owner/repo
$ find ~/git -type d -mindepth 1 -maxdepth 1 -exec github-fullname {} \;
owner/repo1
SKIP (~/git/repo2): .git NOT EXISTS
owner/repo3
...
隐藏错误
$ find ~/git -maxdepth 1 -exec github-fullname {} \; 2> /dev/null
owner/repo1
owner/repo3
...
显示github孤儿仓库
$ python -m github_repos | grep -v "$(find ~/git -maxdepth 1 -exec github-fullname {} \; 2> /dev/null)"
删除github孤儿仓库
$ python -m github_repos | grep -v "$(find ~/git -maxdepth 1 -exec github-fullname {} \; 2> /dev/null)" | xargs python -m github_delete
项目详情
关闭
github-fullname-2020.12.3.tar.gz的哈希
算法 | 哈希摘要 | |
---|---|---|
SHA256 | b497d9489763af06916b80dba9afbb492e0a5b9127a2e1d07d10b7f4dd8c4541 |
|
MD5 | 8d1accc0895dac190bf420d316f7b48f |
|
BLAKE2b-256 | 2070593cef717de782133787c7575ad8faa578da0f57f13b933d4572c87851e5 |