Hello everyone, Leonardo here!
Today we talk about GitHub and some cool features it offers to improve the context and the communication between developers, through Issues and Pull Requests.
As usual, before diving into the article, let me share the video version you can find on my YouTube channel:
These are some of the features shown in the video:
With a special syntax, you can suggest code changes when commenting a Pull Request.
When you link an issue with
# followed by the issue number, a link is rendered. However, if you do so in a list, the issue (or PR) is expanded and the name and the status are displayed as well.
By the way, you can mention issues with
GH-[IssueNumber] as well!
Mentioning an issue in a PR, with some special keywords (for example
closes #3 or
fixes #3), will enable this cool feature. As soon as the PR is merged, the issue will be marked as closed.
If this is activated, you can see it in the bottom right corner of the Pull Request.
If you type
Duplicate of and mention an issue, that one will be marked as duplicate and it is shown right below your comment.
If you want to see all of these in action plus some additional ones, you can watch them in this 3 minutes video!
If you want to support me, go watch it and leave a like ❤️
Do you know of some other cool features? Let me know in the comments!
Thanks for reading this article, I hope you found it interesting!
Feel free to follow me to get notified when new articles are out ;)