Re: git pull opinion
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Nov 6, 2007, 18:28 UTC
- Message-ID
- <Pine.LNX.4.64.0711061828380.4362@racer.site>
- In-Reply-To
- <7v1wb3i6nx.fsf@gitster.siamese.dyndns.org>
Hi,
On Tue, 6 Nov 2007, Junio C Hamano wrote:
Show 11 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> 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