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.
Comments: 4
-
07 Jul, '21
Max MoldmannI like the "select co-author" idea.
But text snippets is probably something one can instead use a 3rd party Clipboard Manager. -
02 Dec, '21
Lewis MotenI'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 <jan@email>
#Co-authored-by: Joe <joe@email>
```
When `Jan` works with you, remove the octothorpe
GitKraken removes lines prefixed with pound signs when you commit. -
18 May, '22
FrancisI 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.
-
09 Nov
MaxI second Francis point:
Especially when doing interactive rebase on Co-Authored commits GitKraken should intelligently collect the Co-Author lines and put them at the end of the new commit messages.