Pull
Request
For the
last couple of weeks I’ve been using a tool that personally has helped me a lot
because I have been able to improve my standards of programming, the quality of
the code.
Pull
request is a tool that repositories have, which serves for the revision of the
code generated by the developer.
First I
needed to create a branch different from which the one I was working and kept
adding features onto the new branch. Later when I felt confident, I created a
pull request to merge my feature (s) from the new branch.
When deploying
a new version of the app the idea is that another more experienced developer or
team of developers, review the pull request on the branch and then merges it on
the one that will be deployed.
The person(s)
reviewing the pull request, should annotate errors within the code as comments.
These errors might be: dead code, syntax
error, syntax not updated, not follow style guides, among others.
You may
experience conflicts, when applying for a pull request, this means that files
that you edited in your branch, were also changed in the destination branch. In
order to merge the code to the branch destination, we must correct all the
conflicts that arise.
This
represents a very good programming practice, since it allows developers to work
on their own version and review everyone else’s raising the level of knowledge