Re: Squash & Merge Implementation

2018-08-03 Thread Vadim Belov
Thanks, Peff! I'm just doing the CI and the status check is for testing each commit to the PR-Branch. I'll try to get response from github on this as you suggested. Thanks again, Vadim On Fri, Aug 3, 2018 at 4:49 PM Jeff King wrote: > On Fri, Aug 03, 2018 at 03:01:15PM +0300, Vadim Belov

Re: Squash & Merge Implementation

2018-08-03 Thread Jeff King
On Fri, Aug 03, 2018 at 03:01:15PM +0300, Vadim Belov wrote: > 1. This merges successfully without squash: > git checkout origin/master > git merge ${PR-Branch} > git push origin HEAD:master > git push origin --delete ${PR-Branch} Right, this is a normal merge. > 2. This closes the PR, but

Squash & Merge Implementation

2018-08-03 Thread Vadim Belov
Hello, I'm trying to manually implement Github's *Squash *functionality. After looking many forums like stackoverflow.com I'm still struggling with the issue. *The scenario is as follows*: - master is a protected branch (configured on github) - a service user *svc *is permitted to push to master