From the course: Creating Technical Documentation with GitHub
Unlock this course with a free trial
Join today to access over 24,400 courses taught by industry experts.
Pull requests and code reviews - GitHub Tutorial
From the course: Creating Technical Documentation with GitHub
Pull requests and code reviews
- [Presenter] Pull Requests and Code Reviews. In modern software development, collaboration and code quality are paramount. Two essential practices that facilitate these goals are pull requests and code reviews. Understanding this concept is crucial for any developer or team aiming to maintain high standards in their code base. What is a pull request? A pull request is a method of submitting contribution to a code repository. It is commonly used in version control systems like Git, particularly on platforms like GitHub, GitLab, and Bitbucket. Here is how it works: Branching, making changes, creating a pull request, discussion and review, approval and merging. So let's take it one after the other. Let's start with branching. When a developer wants to make changes to the code, they create a new branch from the main code base. This allows them to work on their changes in isolation without affecting the main branch. Next, making changes. The developer makes their modification, which might…