Squash, fixup and remove commits on GitHub
Multiple numbers of commits on a pull-request can be merged into a single commit using the squash and fixup option provided by Github. This article is to check how to merge different commits on your Github repository or remove any unwanted commits on your pull request.
Consider the following example to do this -
1. Create a local git branch on your terminal.
$ git checkout upstream/master -b test_branch
where -