Git question
Michael
keybounce at gmail.com
Fri Jan 10 07:57:56 UTC 2020
On 2020-01-09, at 2:33 PM, Steven Smith <steve.t.smith at gmail.com> wrote:
> Me too. We’re discussing MacPorts-relevant git commands in https://github.com/macports/macports-ports/pull/6106 .
>
> Easiest, most destructive to local:
>
> # save all local files changed outside the git repo
>
> git fetch --all
> git reset --hard upstream/master
>
> # restore all local files
I'm sorry, I just have to follow up with this xkcd ...
https://xkcd.com/1597/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20200109/c0d33a99/attachment.html>
More information about the macports-users
mailing list