Re: git fetch: where are the downloaded objects stored?

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

 



"Paolo Ciarrocchi" <paolo.ciarrocchi@xxxxxxxxx> writes:

> What is still not clear to me is where git is storing
> the objects downloaded during a git fetch operation.

git fetch downloads the objects to the object database, i.e.
.git/objects/, usualy as a pack.

Now, just "having" the objects locally doesn't change much, an object
starts being really interesting if you have a reference (typically, a
branch) pointing to it. "git fetch" will update the remote references
(for example, origin/master), but won't touch the working tree, and
won't do any merge, fast-forward or not, to a local branch. So, most
likely, "git fetch" will be followed by either a merge or a rebase.

-- 
Matthieu
--
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]

  Powered by Linux