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

Re: problems getting uptodate from a remote repository

From
Sverre Rabbelier <srabbelier@gmail.com>
Date
May 19, 2009, 17:19 UTC
Message-ID
<fabb9a1e0905191019j73067de9h3ecf3f9dd9ab44e4@mail.gmail.com>
In-Reply-To
<9719867c0905190909q74e4a6b9r4857fb6f32ff394@mail.gmail.com>
Heya,

On Tue, May 19, 2009 at 18:09, Aaron Gray <aaronngray.lists@googlemail.com> wrote:

> I have done a 'git fetch' but the repo is not being updated to latest changes.

Fetch only 'fetches' the data, it doesn't update your working copy. To get your working copy up to date you can do 'git merge origin' after you do 'git fetch origin'. That is such a common operation that there is a single command that does just that, 'git pull origin' will do what you want :).

-- 
Cheers,

Sverre Rabbelier
Previous: Robert Haines
Message 3 of 3 in “Re: problems getting uptodate from a remote repository”
  1. Aaron GrayMay 19, 2009
  2. Robert HainesMay 19, 2009
  3. Sverre RabbelierMay 19, 2009

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.