<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On 7 January 2013 09:45, Jonathan M Davis <span dir="ltr"><<a href="mailto:jmdavisProg@gmx.com" target="_blank">jmdavisProg@gmx.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Sunday, January 06, 2013 14:39:11 Andrei Alexandrescu wrote:<br>
> Hello,<br>
><br>
><br>
> I wonder how we can define a few aliases of project-wide usefulness to<br>
> git. For example, I tried today to get the latest and greatest phobos<br>
> into my repo, and got a bunch of conflicts. I searched a while on the<br>
> net to figure what the command for "just get the latest remote into my<br>
> local copy", which is entirely possible but not obvious and not easy to<br>
> find. I got it from here: <a href="http://goo.gl/pWvVB" target="_blank">http://goo.gl/pWvVB</a> and the invocation is:<br>
><br>
> git pull --rebase -s recursive -X ours<br>
</div></blockquote><div><br></div><div>Err, shouldn't<br><br></div><div>git reset --hard origin/branch-name<br><br>work? <br></div></div><br></div></div>