<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On 2020-01-09, at 2:33 PM, Steven Smith <<a href="mailto:steve.t.smith@gmail.com">steve.t.smith@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="content-type" content="text/html; charset=utf-8"><div dir="auto"><div dir="ltr">Me too. We’re discussing MacPorts-relevant git commands in <a href="https://github.com/macports/macports-ports/pull/6106">https://github.com/macports/macports-ports/pull/6106</a> .</div><div dir="ltr"><br></div><div dir="ltr">Easiest, most destructive to local:</div><div dir="ltr"><br></div><div dir="ltr"># save all local files changed outside the git repo</div><div dir="ltr"><br></div><div dir="ltr">git fetch --all</div><div dir="ltr">git reset --hard upstream/master</div><div dir="ltr"><br></div><div dir="ltr"># restore all local files</div></div></blockquote><br></div><div>I'm sorry, I just have to follow up with this xkcd ...</div><div><br></div><div><a href="https://xkcd.com/1597/">https://xkcd.com/1597/</a></div><div><br></div></body></html>