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