trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2012

Re: [trinity-devel] New tdewebdev GIT source Fails to build - crashes at 100% (tqt_enter_modal/tqt_leave_modal)

From: Darrell Anderson <humanreadable@...>
Date: Fri, 9 Mar 2012 09:06:38 -0800 (PST)
> > UPDATE: GIT is actually smart enough it seems, but it
> is taking many hours
> > for it to merge everything correctly.
> 
> This makes no sense, I'm afraid. git merging is done on the
> client side,
> always, and at pull time, never at push time (really at 'git
> merge'
> time, which is the second of two steps carried out by 'git
> pull').
> 
> Pushing never does a merge of any kind. You can only push on
> top of a
> remote branch containing content you haven't pulled if you
> do a push -f,
> and that *deletes* the content you haven't pulled (hence the
> need for a
> -f 'force' argument).

What then is the correct way to push patches? Is this correct?

cd [module]
git pull
merge patches to module
git commit -a
git push

Darrell