Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ignore bot commits #24

Open
eoli3n opened this issue Oct 13, 2023 · 2 comments
Open

ignore bot commits #24

eoli3n opened this issue Oct 13, 2023 · 2 comments

Comments

@eoli3n
Copy link

eoli3n commented Oct 13, 2023

I just tried to fix my count, by excluding bot commit count as eoli3n/eoli3n@50de233

And

$ git config user.name "Bot"
$ git config user.email "[email protected]"
$ git rebase -r --root --exec "git commit --amend --no-edit --reset-author"
$ git push --force

https://github.com/eoli3n/eoli3n/commits/main

Now user/email for those commits dismatches my account email, but commits still appear in count and contribution grid.
Any idea ?

@teoxoy
Copy link
Owner

teoxoy commented Oct 13, 2023

I'd just use (they are also in the readme):

git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com

I don't remember where exactly I got those from but they've been working well for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants