[dmd-internals] Halp! need help fixing git master for dmd

Walter Bright walter at digitalmars.com
Fri Feb 21 12:21:23 PST 2014


Ok. Thanks for fixing it. But I STILL cannot get past testCols.d. git won't let 
me do ANYTHING because it regards testCols.d as "the same only different" 
because of those goddamed CRLF's in it.

On 2/21/2014 2:01 AM, Daniel Murphy wrote:
> On Fri, Feb 21, 2014 at 8:51 PM, Walter Bright <walter at digitalmars.com 
> <mailto:walter at digitalmars.com>> wrote:
>
>     But I had just pulled the latest master and did a refresh on github to
>     ensure there had been no new changes before I pushed. I'm still a bit
>     baffled why that didn't work.
>
>
> When you did git reset --soft HEAD^ it picked the testCols commit, because you 
> had merged master into that branch rather than the other way around.
>
>     So, what's the correct procedure to undo the last commit to master?
>
>
> The way I usually do it is to look at the history (git log, gitk, or the 
> internals list) to get the hash of the last correct merge commit, then `git 
> reset --hard` to that.
>
> But this can seriously screw things up if done wrong, so if you're not 110% 
> sure it's best to just let somebody else fix it.
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/dmd-internals/attachments/20140221/f4b9a370/attachment-0001.html>


More information about the dmd-internals mailing list