# Re: Which git command to be used to keep my local repo updated with the recent changes made to the original repo

1 messages from 2011-01-27 to 2011-01-27. Participants: Victor Engmark.
Thread: https://gitlist.dev/t/26348

## Victor Engmark, 2011-01-27 11:43

Subject: Re: Which git command to be used to keep my local repo updated with the recent changes made to the original repo
Message-ID: <4D415A70.9000406@terreactive.ch>
URL: https://gitlist.dev/e/4D415A70.9000406%40terreactive.ch
In-Reply-To: <29999288.56562.1296123202254.JavaMail.trustmail@mail1.terreactive.ch>

```
On 01/27/2011 11:13 AM, Akash wrote:
>
> I am new to git , So I just wanted to know which git command to be used to
> keep my local repo updated with the recent changes made to the original repo

$ git help pull

This command is a combination of `git fetch` (to get the commit data) 
and `git merge` (to merge that data with the current working copy).

Typically you want to get the data from the same place where you cloned 
from, in which case a simple `git pull` should be sufficient. If not, 
you should `git help remote` and `git help branch`.

-- 
Victor Engmark

```
