On Thu, Aug 24, 2017 at 3:13 AM, Nish Aravamudan <nish.aravamudan@xxxxxxxxxxxxx> wrote: > Hello, > > Hopefully, I've got this right -- I noticed a change in behavior in git > with Ubuntu 17.10, which recently got 2.14.1. Specifically, that when in > an orphaned branch, -M ends up moving HEAD to the new branch name, > clobbering the working tree. Thanks for the report. I think I see what's going on. I need some more time to come up with a patch but yes this is definitely a bug (and caused by my commit) -- Duy