From: Junio C Hamano Date: Thu, 06 May 2021 01:39:28 GMT Subject: Re: git switch/restore, still experimental? Message-ID: In-Reply-To: <87sg3155dt.fsf@osv.gnss.ru> Sergey Organov writes: > Isn't --merge a different (and inferior) way to achieve what we already > have elsewhere with --autostash? Does it make sense to get rid of --merge > here in favor of --autostash? Not really. The "--autostash" might appear to be applicable to cases that can induce larger conflict, but once the diversion gets larger than what one comfortably can deal with "checkout -m", the user is better off to work by forking a branch there and create a WIP commit, than deal with the stash. So if anything, I'd rather get rid of "--autostash" than "-m", to help users get in a better work habit.