Matias Beckerle

Creating a nice pull request

Working in a team requires more than development skills. You need to push yourself harder and try to imagine what your fellow needs. On a team there are pull requests. Here is the GitHub's definition:

Pull requests let you tell others about changes you've pushed to a repository on GitHub. Once a pull request is sent, interested parties can review the set of changes, discuss potential modifications, and even push follow-up commits if necessary.

Seems easy, right? Well... that is not true for all teams. Sometimes I see pull requests without information.

Asking a review

To create a good pull request I will give you some useful advices (in my opinion):

Making a review

Conclusion

A code review is useful for anyone. Yes, tech leads can't know everything. Pull requests and code reviews serves to everyone for different reasons:

Finally remember that you are the owner of the code introduced by a pull request. When sometimes goes wrong, you are responsible.

. . .

Some time ago I read a really good post of Mark Seemann. I strongly recommend you to read it because he mention important things to take care on creating a pull request.

Thanks to Andrés for all his wisdom.


comments powered by Disqus