git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [ANNOUNCE] GIT 1.2.1

From
Andreas Ericsson <ae@op5.se>
Date
Feb 18, 2006, 10:39 UTC
Message-ID
<43F6F96D.9090209@op5.se>
In-Reply-To
<20060218043113.GA8976@blinkenlights.visv.net>
Michael Fischer wrote:
Show 13 quoted lines
> *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
Previous: Michael Fischer
Message 3 of 3 in “[ANNOUNCE] GIT 1.2.1”
  1. Junio C HamanoFeb 16, 2006
  2. Michael FischerFeb 18, 2006
  3. Andreas EricssonFeb 18, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.