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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]