Re: [howto] Kernel hacker's guide to git, updated
- From
Junio C Hamano <junkio@cox.net>
- Date
- Sep 29, 2005, 21:04 UTC
- Message-ID
- <7virwjegb5.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <433C4B6D.6030701@pobox.com>
Jeff Garzik <jgarzik@pobox.com> writes:
> Nope. It intentionally includes the manual rsync because clone/pull > doesn't seem to grab tags. Or at least last time I checked...
clone does (or should), fetch (and hence pull) does not automatically. Running the following one-liner every once in a while would sync your set of tags with Linus:
git fetch origin `git-ls-remote --tags origin | sed -ne 's|^.*refs/tags/|tag |p'`