my vcs-pkg demonstration

Junichi Uekawa dancer at netfort.gr.jp
Fri Jun 22 23:36:55 UTC 2007


Hi,

> $ git tag -m 'tagging upstream 1.1' -s upstream/1.1 
> $ git branch -m master upstream


There was a brief mention of why 'tag' is not the same as a 'branch'
in git, which is the case in arch.

The difference between tag and branch look pretty artificial. A tag
and a branch both point to a 'commit'.  The only difference being that
a branch follows what you commit, and tag is static.

You could probably even do 

mv .git/refs/heads/branch-name .git/refs/tags/

to turn a branch into a tag (lightweight tag).


git does have a 'heavyweight tag' which can contain GPG signs, so it's
probably better to sign that tag, but that's a minor nit.



regards,
	junichi
-- 
dancer@{netfort.gr.jp,debian.org}



More information about the vcs-pkg-discuss mailing list