From: Robert Haines Date: Tue, 19 May 2009 17:03:55 GMT Subject: Re: problems getting uptodate from a remote repository Message-ID: In-Reply-To: <9719867c0905190909q74e4a6b9r4857fb6f32ff394@mail.gmail.com> Hi Aaron, On 19 May 2009, at 17:09, Aaron Gray wrote: > I have done a 'git fetch' but the repo is not being updated to > latest changes. > > I am getting the message :- > > "Your branch is behind 'origin/master' by 53 commits, and can be > fast-forwarded. > > when I do a 'git checkout master' > > What is going on here and what can I do about it ? A fetch just updates your remote tracking branches in your local repository, it doesn't merge them as well. To update your local master you would then do (while on branch master): $ git merge origin/master This extra step allows you to create a new branch with origin/master as its start point to check that you're happy with the updates before you update your local master should you wish to do so. Cheers, Rob