Sudhakar Chavali
Sudhakar Chavali

Reputation: 829

How to merge specific revision of my branch to other branch GitHUB?

In GitHub, I have two branches working and master branch. Now I wanted to merge specific revision of working branch to the master branch.

Can somebody explain me how I can do that?

Upvotes: 1

Views: 818

Answers (1)

VonC
VonC

Reputation: 1329082

Since you cannot directly do that on the GitHub (remote) side, you can:

  • git clone your GitHub repo
  • some some cherry-picking (as in this example) (or some rebase --onto) between your two branches (from working to master)
  • push back the updated master branch to GitHub

Upvotes: 2

Related Questions