On Sun, Nov 27, 2011 at 18:31, Gelonida N <gelonida@xxxxxxxxx> wrote: > Hi, > > > Is this possible. > > > I'd like to have two branches. > > If possible I would be able to merge forth and back between both of them. > > However I would like, that certain differences will be kept between both > branches. > > Is there any way to tell git to permanently ignoring certain commits > from merging? Instead of merging, you could use rebasing. So you have one development branch where you do all the changes, and then another branch where the only commit there is that special difference (as in your /usr/bin/bash example). From then on you only develop/maintain the original branch, and then you rebase the 'special' branch on top of the development branch. Then you get all the updates, plus your special change applied on top each time. Likewise, if you have two variants (say, one /bin/bash, another /usr/bin/bash, and then one with /usr/local/bin/bash) then create two branches and rebase them on top of the third branch (the development branch) every time you wish to deploy new updates. -Tor -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html