<div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace">Hi.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 11 March 2015 at 22:42, heasley <span dir="ltr"><<a href="mailto:heas@shrubbery.net" target="_blank">heas@shrubbery.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
I'm not certain why this error occurs; it occurs with git 1.7, but not git<br>
2.3.<br clear="all"></blockquote></div><br><div class="gmail_default" style="font-family:courier new,monospace">The default push mode did change in git 2.0.0 (<a href="https://github.com/git/git/blob/master/Documentation/RelNotes/2.0.0.txt#L7-L23">https://github.com/git/git/blob/master/Documentation/RelNotes/2.0.0.txt#L7-L23</a>). Before 2.0.0 it was "matching" but from 2.0.0 it's "simple". The error occurs when using a git version less than 1.7.11 (when "simple" where introduced, see <a href="https://github.com/git/git/blob/master/Documentation/RelNotes/1.7.11.txt#L9-L14).">https://github.com/git/git/blob/master/Documentation/RelNotes/1.7.11.txt#L9-L14).</a><br><br></div><div class="gmail_default" style="font-family:courier new,monospace">To fix that a compatible mode must be used, like "current" (or "matching"). This can be set by running "git config push.default <mode>" or manually editing the repository git config file (please don't set this globally).<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">For more information of the available modes (and what they do), search for "push.default" in <a href="http://git-scm.com/docs/git-config">http://git-scm.com/docs/git-config</a>.<br></div><br>-- <br><div class="gmail_signature">Pelle<br><br>Research is what I'm doing when I don't know what I'm doing.<br>- Wernher von Braun</div>
</div></div>