GitHub Fork Shows Past Merges in Pull Requests
— GitHub — 1 min read
I've had an issue a couple of times now where I'm working with a forked repository on GitHub, and whenever I make a pull request, a bunch of "merge" commits show up in addition to the commit where I actually made the changes.
This is, of course, not ideal, since it really clutters up the pull requests and can be confusing for the person reviewing them. Luckily, it's a pretty easy fix with a few command line statements, as described in this Stack Overflow thread.
Thanks for reading! I hope you find this and other articles here at ilyanaDev helpful! Be sure to follow me on Twitter @ilyanaDev.