From: Kevin Date: Thu, 18 Dec 2014 08:23:09 GMT Subject: Re: confusion with some `git reset` commands Message-ID: In-Reply-To: <2055441.uOK6yH3IMG@linux-wzza.site> On Tue, Dec 16, 2014 at 7:39 PM, Arup Rakshit wrote: > Hi, > .. > > But I am looking for any differences - > > a) git reset --soft and git reset --keep git reset --keep is a safer version of git reset --hard. It will reset the working tree. but will abort when it has to overwrite uncomitted changes. > b) git reset --hard and git reset --merge git reset --merge does the same as hard, but keeps unstaged changes. When unstaged changes would need to be overwritted, it also aborts.