How to merge a specific commit from staging(dev) branch into master that uses rebase?

Viewed 24

I have a dev branch "staging" that has new features (60+ commits). What I want is to merge a specific commit that is in the middle of 60, say 34th commit, into master. Normally, I just rebase the master with the staging and force push all of the commits.

What will happen now if I cherry pick a commit from staging onto master and later rebase master with staging? Will it still work?

0 Answers
Related