Maybe I am missing something, but as far as I know, GitHub already has all that is needed to retain the co-ownership of squashed commits.
Not sure how your workflow is, but In Apache Airflow we use squash & merge exclusively and `co-autorship` is pretty common. For example, when I try to squash and merge this PR: https://github.com/apache/airflow/pull/15100, I get this: https://pasteboard.co/JW8pJnQ.png - after we merge it, this commit will have 3 authors. For reference I show the auto-generated text commit message at the end of the email. `Co-authored-by:` is the way how attribution works. You can also manually modify such a squashed commit message before you merge it. Antonio, Github apparently added this capability in December 2019: https://github.blog/changelog/2019-12-19-improved-attribution-when-squashing-commits/ - that happened after the issues/discussions you are quoting. Regarding the last "bogus" email replacing the real identity (the last point of yours) - this is the choice of each person. you can choose to hide your identity and not make your email address public in Github. But this is the choice of those individuals, not GitHub, so If they chose to hide it, there is no way squash&merge can help with it. In such case GitHub even prevents any commits you push accidentally with your real address: https://docs.github.com/en/github/setting-up-and-managing-your-github-user-account/setting-your-commit-email-address J. --- this is the auto-generated commit message * Add support for arbitrary json in conn uri format * add support for arbitrary string * dont use base64 * fix local filesystem test and spelling of json * Update docs/apache-airflow/howto/connection.rst Co-authored-by: Ash Berlin-Taylor <ash_git...@firemirror.com> * Update docs/apache-airflow/howto/connection.rst Co-authored-by: Ash Berlin-Taylor <ash_git...@firemirror.com> * spelling * use json for local filesystem test * illustrate usage of object vs string Co-authored-by: Daniel Standish <dstand...@users.noreply.github.com> Co-authored-by: Ash Berlin-Taylor <ash_git...@firemirror.com> J,