From: Andreas Ericsson <ae@op5.se>
To: Michael Fischer <michael@visv.net>
Cc: git@vger.kernel.org
Subject: Re: [ANNOUNCE] GIT 1.2.1
Date: Sat, 18 Feb 2006 11:39:41 +0100 [thread overview]
Message-ID: <43F6F96D.9090209@op5.se> (raw)
In-Reply-To: <20060218043113.GA8976@blinkenlights.visv.net>
Michael Fischer wrote:
> *sigh*
>
> I got confused about git pull origin and git pull master.
>
> Tutorial seems to tell me I should have said git pull origin
> and left well enough alone.
>
> Now I get:
>
> fatal: you need to resolve your current index first
>
> How do I do that?
>
If you just want to clean the index so you can pull from origin again,
you should be able to just do
$ git reset --hard origin
If you've got local changes that has caused conflicts in the index you
need to fix that up first and commit them.
--
Andreas Ericsson andreas.ericsson@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
next prev parent reply other threads:[~2006-02-18 10:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-16 6:25 [ANNOUNCE] GIT 1.2.1 Junio C Hamano
2006-02-18 4:31 ` Michael Fischer
2006-02-18 10:39 ` Andreas Ericsson [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-02-16 6:47 Brown, Len
2006-02-16 21:41 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43F6F96D.9090209@op5.se \
--to=ae@op5.se \
--cc=git@vger.kernel.org \
--cc=michael@visv.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.