Improvement

December 19, 20191 Minute Read

Improved attribution when squashing commits

In 2016, GitHub introduced commit squashing when merging a pull request. Then in 2018, we added support for commit co-authors. Today, we’re combining these features to improve the squash-and-merge experience.

Before today, whoever opened the pull request became the sole author of the squash commit. Now, we will automatically credit every commit author in the pull request as a co-author on the squash commit.

Subscribe to our developer newsletter

Discover tips, technical guides, and best practices in our biweekly newsletter just for devs.

By submitting, I agree to let GitHub and its affiliates use my information for personalized communications, targeted advertising, and campaign effectiveness. See the GitHub Privacy Statement for more details.

Improved attribution when squashing commits - GitHub Changelog