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