{"thread":{"id":"246","subject":"[git-pasky] updating tree and source files","startedAt":"2005-04-22T16:50:23Z","lastAt":"2005-04-22T17:16:49Z","messageCount":2,"participants":["Rhys Hardwick","Petr Baudis"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"1293","messageId":"200504221750.24188.rhys@rhyshardwick.co.uk","threadId":"246","inReplyTo":null,"subject":"[git-pasky] updating tree and source files","fromName":"Rhys Hardwick","fromEmail":"rhys@rhyshardwick.co.uk","sentAt":"2005-04-22T16:50:23Z","receivedAt":"2005-04-22T16:50:23Z","isPatch":false,"sender":{"key":"rhys@rhyshardwick.co.uk","avatar":null},"body":"Hi\n\nI have been looking through the scripts, but cannot find out whether when \nrunning: git pull, checkout-cache will be run if the tree is different.\n\nMy main question is, if there is a new version on the git server, and i do a \ngit pull, will this update the source files.  Do I have to carry out some \nmore commands in order for this to happen?\n\nSorry if this is a really newb question, but hopefully I should catch up soon!\n\nRhys\n\n\n"},{"id":"1295","messageId":"20050422171649.GD7173@pasky.ji.cz","threadId":"246","inReplyTo":"200504221750.24188.rhys@rhyshardwick.co.uk","subject":"Re: [git-pasky] updating tree and source files","fromName":"Petr Baudis","fromEmail":"pasky@ucw.cz","sentAt":"2005-04-22T17:16:49Z","receivedAt":"2005-04-22T17:16:49Z","isPatch":false,"sender":{"key":"pasky@ucw.cz","avatar":"https://avatars.githubusercontent.com/u/18439?v=4"},"body":"Dear diary, on Fri, Apr 22, 2005 at 06:50:23PM CEST, I got a letter\nwhere Rhys Hardwick <rhys@rhyshardwick.co.uk> told me that...\n> Hi\n\nHello,\n\n> I have been looking through the scripts, but cannot find out whether when \n> running: git pull, checkout-cache will be run if the tree is different.\n> \n> My main question is, if there is a new version on the git server, and i do a \n> git pull, will this update the source files.  Do I have to carry out some \n> more commands in order for this to happen?\n> \n> Sorry if this is a really newb question, but hopefully I should catch up soon!\n\ngit pull will update your working tree if your working tree branch is\ntracking the pulled remote branch. If you do just 'git pull', this is\nalways the case.\n\n-- \n\t\t\t\tPetr \"Pasky\" Baudis\nStuff: http://pasky.or.cz/\nC++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor\n"}]}