<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Git Tag Mini Cheat Sheet Revisited</title> <atom:link href="http://ariejan.net/2009/09/05/git-tag-mini-cheat-sheet-revisited/feed/" rel="self" type="application/rss+xml" /><link>http://ariejan.net/2009/09/05/git-tag-mini-cheat-sheet-revisited/</link> <description>Code Monkey</description> <lastBuildDate>Thu, 11 Mar 2010 04:50:50 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.2</generator> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>By: Ariejan de Vroom</title><link>http://ariejan.net/2009/09/05/git-tag-mini-cheat-sheet-revisited/comment-page-1/#comment-11145</link> <dc:creator>Ariejan de Vroom</dc:creator> <pubDate>Fri, 06 Nov 2009 08:36:32 +0000</pubDate> <guid
isPermaLink="false">http://ariejan.net/?p=515#comment-11145</guid> <description>You can view an Spanish translation at http://www.jcastaneyra.com/2009/11/05/etiquetando-codigo-en-gittagging-code-in-git/Thanks to José.</description> <content:encoded><![CDATA[<p>You can view an Spanish translation at <a
href="http://www.jcastaneyra.com/2009/11/05/etiquetando-codigo-en-gittagging-code-in-git/" rel="nofollow">http://www.jcastaneyra.com/2009/11/05/etiquetando-codigo-en-gittagging-code-in-git/</a></p><p>Thanks to José.</p> ]]></content:encoded> </item> <item><title>By: Etiquetando código en git/Tagging code in git &#124; Blog de José</title><link>http://ariejan.net/2009/09/05/git-tag-mini-cheat-sheet-revisited/comment-page-1/#comment-11143</link> <dc:creator>Etiquetando código en git/Tagging code in git &#124; Blog de José</dc:creator> <pubDate>Thu, 05 Nov 2009 22:07:25 +0000</pubDate> <guid
isPermaLink="false">http://ariejan.net/?p=515#comment-11143</guid> <description>[...] http://ariejan.net/2009/09/05/git-tag-mini-cheat-sheet-revisited/?doing_wp_cron http://polywww.in2p3.fr/~gaycken/Calice/Software/my_git_workflow.html [...]</description> <content:encoded><![CDATA[<p>[...] <a
href="http://ariejan.net/2009/09/05/git-tag-mini-cheat-sheet-revisited/?doing_wp_cron" rel="nofollow">http://ariejan.net/2009/09/05/git-tag-mini-cheat-sheet-revisited/?doing_wp_cron</a> <a
href="http://polywww.in2p3.fr/~gaycken/Calice/Software/my_git_workflow.html" rel="nofollow">http://polywww.in2p3.fr/~gaycken/Calice/Software/my_git_workflow.html</a> [...]</p> ]]></content:encoded> </item> <item><title>By: Ed Spencer</title><link>http://ariejan.net/2009/09/05/git-tag-mini-cheat-sheet-revisited/comment-page-1/#comment-10882</link> <dc:creator>Ed Spencer</dc:creator> <pubDate>Tue, 08 Sep 2009 15:37:23 +0000</pubDate> <guid
isPermaLink="false">http://ariejan.net/?p=515#comment-10882</guid> <description>Thanks for this, most useful. Once change I had to make when pushing tags to Github is to omit the &#039;origin&#039;, e.g.:git push --tagsEverything else works as advertised :)</description> <content:encoded><![CDATA[<p>Thanks for this, most useful. Once change I had to make when pushing tags to Github is to omit the &#8216;origin&#8217;, e.g.:git push &#8211;tagsEverything else works as advertised :)</p> ]]></content:encoded> </item> <item><title>By: Jörg W Mittag</title><link>http://ariejan.net/2009/09/05/git-tag-mini-cheat-sheet-revisited/comment-page-1/#comment-10878</link> <dc:creator>Jörg W Mittag</dc:creator> <pubDate>Sun, 06 Sep 2009 12:18:44 +0000</pubDate> <guid
isPermaLink="false">http://ariejan.net/?p=515#comment-10878</guid> <description>I think I got a little bit confused wrt the pushing and pulling stuff. I wrote my comment basically from memory. After your reply to my comment I started to research it, and now I&#039;m completely lost :-)Basically, tags are just refs (like branches), which live in .git/refs/tags (as opposed to branches which live in .git/refs/heads). If you have a push/pull refspec that includes refs/tags/* (or just refs/*), then new and/or deleted tags will be pushed/pulled just like new/deleted branches. (The whole refspec stuff is still more than a little unclear to me.) According to the git-pull manpage, tags that point to objects that are reachable from the heads that you are pulling, are automatically fetched, this can be overriden with the --tags (fetch *all* tags, not just the ones that are reachable) and --no-tags (do not fetch *any* tags) options. The reason why this is all so complicated is that all tags share a global namespace (unlike branches, whose names are namespaced by the remote they belong to). So, automatic following of tags only makes sense *within* a closed network of developers that have agreed on naming standards for tags. I believe that there are a few heuristics built into Git as to when a transaction crosses such network boundaries (e.g. when you clone a repository or add it as a remote, it is considered to be part of your network, but if you just do a one-shot git pull, giving it a full URI to pull from, then it&#039;s not. But, I am not sure about that.)BTW: a quick interesting tidbit: if you look at the tag refs in .git/refs/tags, you can see the difference between lightweight tags and annotated tags: lightweight tags point to *commit* objects, annotated tags point to *tag* objects (which in turn contain a reference to the commit object). IOW, lightweight tags aren&#039;t objects of their own, whereas annotated tags *are* proper Git objects, which means they are part of the repository, they have a SHA1 and so on. (This also means that you can modify a lightweight tag, but not an annotated tag, because then its SHA1 would change.)</description> <content:encoded><![CDATA[<p>I think I got a little bit confused wrt the pushing and pulling stuff. I wrote my comment basically from memory. After your reply to my comment I started to research it, and now I&#8217;m completely lost :-)</p><p>Basically, tags are just refs (like branches), which live in .git/refs/tags (as opposed to branches which live in .git/refs/heads). If you have a push/pull refspec that includes refs/tags/* (or just refs/*), then new and/or deleted tags will be pushed/pulled just like new/deleted branches. (The whole refspec stuff is still more than a little unclear to me.) According to the git-pull manpage, tags that point to objects that are reachable from the heads that you are pulling, are automatically fetched, this can be overriden with the &#8211;tags (fetch *all* tags, not just the ones that are reachable) and &#8211;no-tags (do not fetch *any* tags) options. The reason why this is all so complicated is that all tags share a global namespace (unlike branches, whose names are namespaced by the remote they belong to). So, automatic following of tags only makes sense *within* a closed network of developers that have agreed on naming standards for tags. I believe that there are a few heuristics built into Git as to when a transaction crosses such network boundaries (e.g. when you clone a repository or add it as a remote, it is considered to be part of your network, but if you just do a one-shot git pull, giving it a full URI to pull from, then it&#8217;s not. But, I am not sure about that.)</p><p>BTW: a quick interesting tidbit: if you look at the tag refs in .git/refs/tags, you can see the difference between lightweight tags and annotated tags: lightweight tags point to *commit* objects, annotated tags point to *tag* objects (which in turn contain a reference to the commit object). IOW, lightweight tags aren&#8217;t objects of their own, whereas annotated tags *are* proper Git objects, which means they are part of the repository, they have a SHA1 and so on. (This also means that you can modify a lightweight tag, but not an annotated tag, because then its SHA1 would change.)</p> ]]></content:encoded> </item> </channel> </rss>
<!-- This site's performance optimized by W3 Total Cache. Dramatically improve the speed and reliability of your blog!

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using memcached
Page Caching using memcached (user agent is rejected)

Served from: starbuck.ariejan.net @ 2010-03-12 02:33:25 -->