<div class="gmail_quote">On Sun, Aug 22, 2010 at 3:05 PM, 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 tried to push some changes to master. Here is what happened...<br>
[lorensen@localhost VTK]$ git push<br>
Counting objects: 32, done.<br>
Delta compression using up to 2 threads.<br>
Compressing objects: 100% (19/19), done.<br>
Writing objects: 100% (19/19), 2.10 KiB, done.<br>
Total 19 (delta 14), reused 0 (delta 0)<br>
----------------------------------------------------------------------<br>
merge commit 06c3f787 not allowed<br>
----------------------------------------------------------------------<br>
error: hook declined to update refs/heads/master<br>
To git@vtk.org:VTK.git<br>
! [remote rejected] master -> master (hook declined)<br>
error: failed to push some refs to 'git@vtk.org:VTK.git'<br><br></blockquote><div>When pushing directly to VTK, no merge commits are allowed. You probably did a git pull and created a merge with the remote master, you can tell by issuing,</div>
<div><br></div><div>git log --graph --stat origin/master..</div><div><br></div><div>In all likelihood, you can fix it by simply issuing,</div><div><br></div><div>git pull --rebase origin/master</div><div><br></div><div>We do have a topic stage that allows merge commits. If you get stuck, you can always push your topic and let me take a look at it for you.</div>
<div><br></div><div>Thanks,</div><div><br></div><div>Marcus</div></div>