From: Felipe Contreras Date: Sat, 31 May 2014 10:56:49 GMT Subject: RE: Reset by checkout? Message-ID: <5389b57138645_68b153b2f8a5@nysa.notmuch> In-Reply-To: <20140531144610.754B.B013761@chejz.com> Atsushi Nakagawa wrote: > Ok, the typical use case is: I'm on 'master' and I make a few test > commits. Afterwards, I want to discard the commits and move back to > 'origin/master'. I could type 'reset --hard origin/master' and risk > blowing away dirty files if I'm not careful. Or, I could use "reset by > checkout" and be carefree. Doesn't 'git reset orign/master' do that? -- Felipe Contreras