since 1999


1 minutes estimated reading time.

Acknowledge Open-Source Contributors with Git Authorship

Alex Piechowski

Even though Git has been around since 2005 and has definitely taken over as the primary VCS, some developers do not utilize git to the fullest of its ability. Some developers even intentionally execute commands to remove functionality, such as replacing commit authors with their own. Additionally, it’s shocking that some of these mishaps occur in popular repositories, such as vim, but often maintainers express no intention of changing. In modern times, Github has fortunately made the process of keeping git authors intact trivial.

Proper Examples

GitHub: rails/rails

GitHub: laravel/laravel

GitHub: neovim/neovim

How to Acknowledge Contributors on GitHub

  1. Start with any repository on GitHub
  2. Ensure the repository is public on the repository settings page
  3. Wait for a pull request to be submitted by a community member
  4. Via GitHub’s Allow Edits From Maintainers feature, make any changes you would like performed prior to merging
  5. Pick one of…
    1. Merge the pull request using any of the 3 provided options
    2. Merge the pull request via the CLI (instructions provided next to merge button)
  6. Git/GitHub will automatically attribute authorship to the original author of the commits. You don’t need to do anything special and can simply push that merge to master. Congratulations!