Squash & Merge Implementation #22860
-
Hello, I’m trying to manually implement Github’s Squash&Merge functionality. After looking many forums like stackoverflow.com I’m still struggling with the issue. The scenario is as follows:
git merge ${PR-Branch}
git checkout origin/master
git checkout origin/master Will appreciate your help on this. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments
-
Does it work if you push from a local branch named |
Beta Was this translation helpful? Give feedback.
-
@lee-dohm, thanks for your response. I’ve tried this:
The first push still results in:
|
Beta Was this translation helpful? Give feedback.
-
Are you doing the push using the credentials for the svc user? |
Beta Was this translation helpful? Give feedback.
-
I’ve consulted with some others on what you’re running into. We’ve got a few questions:
|
Beta Was this translation helpful? Give feedback.
-
Yes,
It is the same svc user we use to checkout the repository in the Jenkins job. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Actually this is solvable using github API.
|
Beta Was this translation helpful? Give feedback.
Actually this is solvable using github API.