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

Re: [git-pasky] updating tree and source files

From
Petr Baudis <pasky@ucw.cz>
Date
Apr 22, 2005, 17:16 UTC
Message-ID
<20050422171649.GD7173@pasky.ji.cz>
In-Reply-To
<200504221750.24188.rhys@rhyshardwick.co.uk>

Dear diary, on Fri, Apr 22, 2005 at 06:50:23PM CEST, I got a letter where Rhys Hardwick <rhys@rhyshardwick.co.uk> told me that...

> Hi
Hello,
Show 8 quoted lines
> I have been looking through the scripts, but cannot find out whether when 
> running: git pull, checkout-cache will be run if the tree is different.
> 
> My main question is, if there is a new version on the git server, and i do a 
> git pull, will this update the source files.  Do I have to carry out some 
> more commands in order for this to happen?
> 
> Sorry if this is a really newb question, but hopefully I should catch up soon!

git pull will update your working tree if your working tree branch is tracking the pulled remote branch. If you do just 'git pull', this is always the case.

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor
Previous: Rhys Hardwick
Message 2 of 2 in “[git-pasky] updating tree and source files”
  1. Rhys HardwickApr 22, 2005
  2. Petr BaudisApr 22, 2005

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.