# git hook

A Git hook is a program placed in a hooks directory to trigger actions at specific points during Git's execution.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Merge Git Authors

DevFeed: [Merge Git Authors](<https://devfeed.tech/articles/merge-git-authors-29362.md>)

Original publisher: [Read original article](<https://arturdryomov.dev/posts/merge-git-authors/>)

Author: Artur Dryomov

Published: 2019-03-19T00:00:00Z

Content type: tutorial

Language: en

Sources: [Artur Dryomov](<https://devfeed.tech/sources/artur-dryomov.md>)

Topics: [Git](<https://devfeed.tech/topics/git.md>), [git hook](<https://devfeed.tech/topics/git-hook.md>), [bitbucket](<https://devfeed.tech/topics/bitbucket.md>)

Tags: [bitbucket](<https://devfeed.tech/tags/bitbucket.md>), [consistency](<https://devfeed.tech/tags/consistency.md>), [email](<https://devfeed.tech/tags/email.md>), [git](<https://devfeed.tech/tags/git.md>), [git-hook](<https://devfeed.tech/tags/git-hook.md>), [github](<https://devfeed.tech/tags/github.md>), [merge](<https://devfeed.tech/tags/merge.md>)

### AI overview

This article explains how to identify and consolidate inconsistent Git author names and email addresses so repository history accurately reflects contributor identities. It discusses Git commands, display limitations, tool support, and preventive checks using Bitbucket plugins or pre-commit hooks.

### Source excerpt

Stats! Stats are awesome. You can collect them, you can analyze and visualize them, you can boil, grill and fry them... Wait, that's not food, right? git shortlog Let's say we have a Git repository. We want to count commits per author. There is a Git command for that! $ git shortlog --summary --numbered 2 Bender Rodriguez 2 Philip J. Fry 1 Bending Unit 22 1 Turanga Leela There are actually three authors but since names are non-consistent Git makes it look like there are four. It gets worse with emails.