From: Atsushi Nakagawa Date: Sat, 07 Jun 2014 04:55:58 GMT Subject: Re: Reset by checkout? Message-ID: <20140607135556.7894.B013761@chejz.com> In-Reply-To: <20140601132624.821C.B013761@chejz.com> Atsushi Nakagawa wrote: > Kevin Bracey wrote: > > On 31/05/2014 08:46, Atsushi Nakagawa wrote: > > > `git checkout -B ` > > > > > > This is such an useful notion that I can fathom why there isn't a better, > > > first-tier, alternative.q > > ... > > > > I guess in theory using "checkout" allows fancier extra options like > > "--merge" and "--patch", but I don't think I've ever used those with > > checkout, let alone this mode, where I really do just want a "reset", > > with safety checks. > > It does indeed have those fancier options. However, I just noticed > there's even a 'reset --merge'! And like you say, I can't remember ever > using 'checkout --merge' together with 'checkout -B'. I'd assumed 'reset --merge' was like 'checkout --merge' and was elated.., but it was something else entirely. Cheers, -- Atsushi Nakagawa Changes are made when there is inconvenience.