Re: git-pull and tag objects

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

 



On 2/8/07, Alex Bennee <kernel-hacker@xxxxxxxxxx> wrote:
I have slave repositaries which are cloned of the baseline which I do my
development in. However when I bring the master branch of these work
repositaries upto date (via git-pull ../baseline master) I find the tag
objects are lost. Should they not be part of the tree? After all when I
sync to Linus's kernel repo I get all his version tags as part of that.

You have to use "git pull ../baseline master:somewhere".
This "master:somewhere" expression makes git fetch and stores
the tags along with the branch' commits. Better yet, create an
entry in remotes: .git/remotes or .git/config, depending on the version
of git you have. The current master on kernel.org has the support
for latter (branches in .git/config), which will also be in the upcoming
release 1.5.
-
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]