|
Boost : |
Subject: Re: [boost] merging the super-project
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2014-07-16 20:08:01
On 16 Jul 2014 at 9:32, Eric Niebler wrote:
> I recently made a tweak to the .gitignore of the super-project on the
> develop branch. How do I merge that to master? The two branches have
> different histories, so a regular git merge balks. And when I checkout
> master (thinking I'll just cherry-pick), I end up with a slew of local
> changes (which I haven't made).
I think you check out the destination branch, then do
git checkout <src branch> <paths>
git commit
He'll copy of all the necessary history for that file and merge it
with the local history. Check the log to be sure. Push as normal
after.
Niall
-- ned Productions Limited Consulting http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk