Opening Multiple Pull Requests
The key to avoiding common pull request mistakes from having an out of date master branch is to set up a workflow where the local main or master branch is always in sync with the upstream project, and this can be achieved by adding the upstream repository as an "upstream" remote before making changes. This allows for easy collaboration and prevents accidental inclusion of additional changes in the pull request. By syncing the local main or master branch with the upstream project before branching, developers can create high-quality pull requests that are consistent with the rest of the project's codebase.
Company
Vonage
Date published
May 10, 2021
Author(s)
Lorna Mitchell
Word count
393
Language
English
Hacker News points
None found.