我有一些机器人定时任务的 repositories ,导致我的 contributions in the last year 每天都有记录。
如何忽略这些机器人的提交记录,让提交历史更真实一些?
1
Pencillll 156 天前 via Android ![]() 只有默认分支会被记录,你把想隐藏的 repo 的默认分支设置成别的就行
|
![]() |
2
nagisaushio 156 天前 via Android ![]() 是利用 github action 的吗? github 有专门的 bot 账号,通过他们提交不会记成 contribution
|
3
0o0O0o0O0o 156 天前 ![]() github actions 里
git config --global user.name "github-actions[bot]" git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" |
![]() |
4
sleeepyy 156 天前 ![]() repo 下面可以设置 local 的 git config username 和 email
|
![]() |
5
john990 OP |