RE: Fetch and -t

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

 



[Sorry for the top-posting. I *hate* Outlook.]

I will need to check why my system is showing old man pages. I am running something compiled from the git tree on kernel.org.

Thanks!

-----Original Message-----
From: Junio C Hamano [mailto:gitster@xxxxxxxxx] 
Sent: Monday, February 11, 2013 6:25 PM
To: Olsen, Alan R
Cc: git@xxxxxxxxxxxxxxx
Subject: Re: Fetch and -t

"Olsen, Alan R" <alan.r.olsen@xxxxxxxxx> writes:

> I have found that if I add a remote and do a "git fetch -t -f 
> remote_name" that it *only* pulls tags.
>
> Reading the man page it seems like it should pull all the remotes and 
> all the tags and the commits only reachable by tags.

This is what appears in the documentation we ship these days.

    -t::
    --tags::
            This is a short-hand for giving "refs/tags/*:refs/tags/*"
            refspec from the command line, to ask all tags to be fetched
            and stored locally.  Because this acts as an explicit
            refspec, the default refspecs (configured with the
            remote.$name.fetch variable) are overridden and not used.

http://git-htmldocs.googlecode.com/git/git-fetch.html

Previous discussion:

    http://thread.gmane.org/gmane.comp.version-control.git/180636

A more recent one:

    http://thread.gmane.org/gmane.comp.version-control.git/211439/focus=211464

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