使用 GitHub Skyline API 获取 GitHub 用户贡献(翻译)

对于像我这样喜欢收集自己的个人指标的人来说,2021 年是个好年头。早些时候,我聊了收集空气质量数据Twitter 数据——以及现在的 GitHub 贡献数据。在这篇文章中,我将描述一种简单的方法来获取你自己的 GitHub 贡献统计数据,而不必跳过太多圈套。

解决Sourcetree 无法获取 GitHub 远端组织中的仓库

使用 Sourcetree 可以让你将更多精力和时间放在编写代码上,它能大大提供生产力。

之前 GitHub 上的仓库一直都是通过 Git 命令克隆下来的,想着就那么几行命令,也不耽误时间。但是今天突然要拉取某一个组织中的仓库,但是一时想不起来仓库名称,于是便想到 Sourtree 的主界面的远端功能可以搜索仓库,而且可以不执行命令行通过 UI 操作就能完成克隆,这样可以节省点时间,何不试试呢!由于个人仓库列表有点多,于是尝试几个关键字发现搜索不到,后来连组织名称都不在列表中。

于是便有这篇文章。

remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.

今天从 GitHub 上拉取代码时,报如下错误:

shell
1
2
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.