Improve support for Co-authors
GitHub has support for special annotations in commit messages to give credit to other co-authors who worked on the commit (see https://docs.github.com/en/github/committing-changes-to-your-project/creating-and-editing-commits/creating-a-commit-with-multiple-authors ). This is quite common when doing pairing or ensemble programming (aka mob-programming).
GitKraken supports some of that feature, and shows multiple avatars for commits authored by multiple people.
Adding the data to the commit message is tedious and error-prone, so I would love to have to help from the UI, and having for instance :
- a button somewhere to add a co-author to my commit
- maybe a way to look up co-authors from GitHub or from the list of authors of the current repo
Possible alternative : allow to add to a commit message "saved snippets" to quickly add a piece of text to a commit message. I could have created a bunch of snippets with the "co-author" of my coworkers and use it to quickly insert it.
I like the "select co-author" idea.
But text snippets is probably something one can instead use a 3rd party Clipboard Manager.
I've setup my commit template in the past for some projects using multiple authors.
Prefix people you usually work with using hash tags
#Co-authored-by: Jan <[email protected]>
#Co-authored-by: Joe <[email protected]>
When `Jan` works with you, remove the octothorpe
GitKraken removes lines prefixed with pound signs when you commit.
I think this is really important - when rebasing, or squashing, or cherrypicking (with conflicts to resolve), the original authorship gets lost. I'd really appreciate some improved support for coauthoring so that work attribution is preserved.