自动生成 github Contribution 工具,包括过去的空缺

2019-04-04 12:10:41 +08:00
 channg01

https://github.com/channg/gayhub

你只需要进入一个本地 github 仓库

然后运行 npx gayhub (需要先安装 nodejs )

然后你 contribution 就都变得圆满了

2742 次点击
所在节点    程序员
14 条回复
paoloo
2019-04-04 12:14:00 +08:00
为何过去的也变绿了?原理是啥?
via
2019-04-04 12:29:41 +08:00
我也写过一个一模一样的工具 😅 https://github.com/Jaggle/Gitfool
Kilerd
2019-04-04 12:34:42 +08:00
@paoloo GIT 可以修改提交时间
channg01
2019-04-04 12:49:04 +08:00
@via 😅😅
channg01
2019-04-04 12:50:09 +08:00
@via 准备后面支持画心形 写字母数字 功能
paoloo
2019-04-04 13:08:27 +08:00
@Kilerd 这是 contribution 不是 commit 呀,不应该是 push 时间吗?
EvilCult
2019-04-04 13:28:21 +08:00
@paoloo

Commits will appear on your contributions graph if they meet all of the following conditions:

The email address used for the commits is associated with your GitHub account.
The commits were made in a standalone repository, not a fork.
The commits were made:

In the repository's default branch (usually master)
In the gh-pages branch (for repositories with Project Pages sites)
In addition, at least one of the following must be true:

You are a collaborator on the repository or are a member of the organization that owns the repository.
You have forked the repository.
You have opened a pull request or issue in the repository.
You have starred the repository.

更详细可见: https://help.github.com/en/articles/why-are-my-contributions-not-showing-up-on-my-profile#contributions-that-are-counted
Jonz
2019-04-04 15:26:51 +08:00
已使用。。会被举报吗。。。。
channg01
2019-04-04 15:32:48 +08:00
@Jonz 为啥要举报。。。。
Vegetable
2019-04-04 15:34:06 +08:00
哈哈哈,这玩意还是不要流行了吧,不然我怕 github 把个功能关了
Jonz
2019-04-04 15:39:43 +08:00
@channg01 2L 那个项目底部说了
WARNING
you may be reported for abusing if you push these commits to Github.
azhangbing
2019-04-04 18:05:14 +08:00
哈哈哈 晚上试试
JohnWick
2019-04-05 00:04:36 +08:00
哈哈,厉害
limbo0
2019-04-05 09:43:04 +08:00
@Vegetable 已经好多轮子了

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/552010

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX