title: Github select what to merge
body: <p>I have one repository in Github this repository has 2 branches (main branch) and (specific features branch), what I need to achieve when I write my code I know this code is a core feature that I need to exist into both (main and specific features) branches this can be done easily when I do merge from (specific features) branch to (main) branch.</p>
  <p>My question: - if I did 3 commits to (specific features) branch I need the first commit to be merged to the (main) branch but I don't want the second and third commit to being merged to (main) branch applies that the other developer pulls to his machine the 3 commits.
  can some one help please, this is useful to write a code one time for 2 projects, is there any way to achieve that by using git or svn. is there a special setup in Github that will allow me to do it?</p>