Co-author a commit with PyCharm
Do you want to start your contribution to Django using a closed or a stale Pull Request using the vulture method?
✨ Fantastic ✨
In this case, it is always a good idea to ask the previous owner of the Pull Request for permission and include their name as a co-author to thank them for their work.
Adding a co-author in PyCharm’s Commit Tool
Instead of manually writing a commit in the terminal, you can easily add a co-author using PyCharm’s integrated commit tool window.
This is an example of your commit message:
awesome commit
Co-authored-by: Raffaella <45825990+raffaellasuardini@users.noreply.github.com>
Why this approach?
- No typos: PyCharm will autocomplete
Co-authored-by:
for you when you start typingc
. - Suggestions: No need to look up emails manually. If your co-author has contributed before, PyCharm will suggest their details.
Important: leave a newline empty between the commit message and the co-author name, as shown in the example.
This is probably the easiest, fastest (and more fun!) method I used for this task. You can use this method with PyCharm Professional and PyCharm Community Edition.
Last but not least: congratulations for your commit!🎉