1

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?

Rais Alam
  • 6,970
  • 12
  • 53
  • 84
Sudhakar Chavali
  • 809
  • 2
  • 14
  • 32

1 Answers1

2

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
Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250