Andrew,

Your commits should not be completely lost.  Check out 

git reflog

to see if you can find your lost commits.

-Sterling

----- Original Message -----
> From: "Andrew L. Moore" <slew...@gmail.com>
> To: "Ken Cunningham" <ken.cunningham.web...@gmail.com>, "Mojca Miklavec" 
> <mo...@macports.org>, "Chris Jones"
> <jon...@hep.phy.cam.ac.uk>
> Cc: "MacPorts Development" <macports-dev@lists.macports.org>
> Sent: Wednesday, December 20, 2017 9:41:56 PM
> Subject: Re: Addressing Port submission failures on Travis

> I didn’t create a branch for the pull request.  That was my first mistake.  
> Then
> rebasing confounded the issue.  But after repairing my fork and moving  the
> pull request commits to a branch,  I made a third mistake:  I didn’t change 
> the
> MacPorts pull request to reference the new branch prior to reseting HEAD to
> before the commits. In doing so, I appear to have lost both the pull request
> and the corrections provided by Frank Schima and Mojca Miklavec.  Sigh.
> 
> Hopefully the lessons will stick, at least.  Thank you everyone for your help!
> -AM

Reply via email to