add switch-base and squash pull request when merging

                    
|Q            |A   |
|---          |--- |
|Fixed Tickets|#199|
|License      |MIT |