In this lesson, you will learn how to automatically assign pull requests to other collaborators on GitHub. If you prefer to learn by reading, you can read the accompanying blog post.
Joe Previte: From the repository page on GitHub, head over to Settings. From here, scroll down to the bottom until you see Merge button. Select Allow squash merging and we'll remove the others so that's the default option.
Now, when you look at a PR, you'll notice that the Squash and merge button is there by default. If we had kept the other options, it would have showed them here as well. When we click Squash and merge, it will squash the commits into a single commit, and that's it. You can now automatically squash commits while merging pull request on GitHub.
You must be a Pro Member to view code
Access all courses and lessons, track your progress, gain confidence and expertise.