From: Johannes Schindelin Date: Tue, 06 Nov 2007 18:28:52 GMT Subject: Re: git pull opinion Message-ID: In-Reply-To: <7v1wb3i6nx.fsf@gitster.siamese.dyndns.org> Hi, On Tue, 6 Nov 2007, Junio C Hamano wrote: > Johannes Schindelin writes: > > > A pull is just a fetch and a merge. And a merge is a commit with more > > than one parent. So you can use the command "git reset --hard HEAD^" to > > undo a merge, just as you can undo any other commit. > > *DANGER* > > A pull is usually just a fetch and a merge, but sometimes it can fast > forward. ORIG_HEAD, not HEAD^, points at the previous HEAD location in > both cases. Oops. Right. Thanks, Dscho