1

I have three branches. Master is the production's branch. Staging for testing and Dev for development. How do I merge only specif commits into master from staging branch? I don't always need to merge all differences.

Thiago Caramelo
  • 309
  • 3
  • 9

1 Answers1

1

If you just need a specific commit, the easiest approach would be to cherry-pick it:

$ git cherry-pick <commit hash>
Mureinik
  • 277,661
  • 50
  • 283
  • 320