git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Victor Engmark <victor.engmark@terreactive.ch>
To: Akash <bcakashguru@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Which git command to be used to keep my local repo updated with the recent changes made to the original repo
Date: Thu, 27 Jan 2011 12:43:44 +0100	[thread overview]
Message-ID: <4D415A70.9000406@terreactive.ch> (raw)
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

       reply	other threads:[~2011-01-27 11:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <29999288.56562.1296123202254.JavaMail.trustmail@mail1.terreactive.ch>
2011-01-27 11:43 ` Victor Engmark [this message]
2011-01-27 10:13 Which git command to be used to keep my local repo updated with the recent changes made to the original repo Akash

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D415A70.9000406@terreactive.ch \
    --to=victor.engmark@terreactive.ch \
    --cc=bcakashguru@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).