<div class="gmail_quote">Speaking generally, rebase is roughly equivalent to what cvs/svn up do - your local changes are applied on top of the new commits in the upstream repository. In general, on master, release, next etc which are used as integration branches, should be rebased, and I set this up to happen locally.</div>
<div class="gmail_quote"><br></div><div class="gmail_quote">In the VTK git clone you can issue the command,</div><div class="gmail_quote"><br></div><div class="gmail_quote">git config branch.master.rebase true</div><div class="gmail_quote">
<br></div><div class="gmail_quote">This will cause a git pull to rebase, rather than merge, by default. There are similar settings to change git's behavior more globally. When people merge upstream master into their master, it doesn't provide anything but noise in the commit log, and currently merge commits are not allowed in VTK apart from when using the VTK stage described in a previous post.</div>
<div class="gmail_quote"><br></div><div class="gmail_quote">Marcus</div><div class="gmail_quote"><br></div><div class="gmail_quote">On Sat, Jul 17, 2010 at 10:32 AM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I never rebase. I always just pull. What is the difference?<br>
<br>
That worked.<br>
<br>
So much to learn...<br>
<br>
Thanks,<br>
<font color="#888888"><br>
Bill<br>
</font><div><div></div><div class="h5"><br>
On Sat, Jul 17, 2010 at 8:36 AM, Karthik Krishnan<br>
<<a href="mailto:karthik.krishnan@kitware.com">karthik.krishnan@kitware.com</a>> wrote:<br>
> Hi Bill:<br>
><br>
> Did you rebase w.r.t origin/master before "git push" and was the rebase<br>
> successful ?<br>
><br>
> git pull --rebase<br>
><br>
> Merges are disabled for now.<br>
><br>
> --<br>
> karthik<br>
><br>
><br>
> On Sat, Jul 17, 2010 at 5:27 PM, Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Folks,<br>
>><br>
>> I found a memory leak in vtkImporter.cxx. I committed the change to my<br>
>> repo. When I try to push it I get the following:<br>
>><br>
>> merge commit 87719e0 not allowed<br>
>> error: hook declined to update refs/head/master<br>
>> ...<br>
>> ! [remote rejected] master -> master (hook declined)<br>
>><br>
>> My hooks are up to date.<br>
>><br>
>> Ideas?<br>
>><br>
>> Bill<br>
>> _______________________________________________<br>
>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>><br>
>> Visit other Kitware open-source projects at<br>
>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>><br>
>> Follow this link to subscribe/unsubscribe:<br>
>> <a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
>><br>
><br>
><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
</div></div></blockquote></div><br>